This is the class that has to be instantiated in order to get a calculator object. When instantited the calculator is rendered in the document.
Constructs a Calculator instance. The syntax is:
var myinstance = new Calculator(options);
The available options are:
- anchor: (String|Element). The id attribute or the element itself in which inject the calculator. If null the calculator is rendered over the document. Default: null.
- drag: (Boolean). Whether or not to make the calculator draggable. Works only if the anchor options is null. Default: true.
- digits: (Number). Number of display digits. Default: 14.
Removes the calculator from the document.
Hides the calculator.
Shows the calculator.
Toggles the calculator visibility.
The plugin comes with its css stylesheet which may be customized to fit your needs.