Extends the set of available mask aliases.
Extends the default inputmask options.
Extends the set of available definitions.
Instead of masking an input element it is also possible to use the inputmask for formatting given values. Think of formatting values to show in jqGrid or on other elements then inputs.
Value to format.
Mask options.
Validate a given value against the mask.
Value to validate.
Mask options.
Remove the inputmask.
The setvalue functionality is to set a value to the inputmask like you would do with jQuery.val, BUT it will trigger the internal event used by the inputmask always, whatever the case. This is particular usefull when cloning an inputmask with jQuery.clone. Cloning an inputmask is not a fully functional clone. On the first event (mouseenter, focus, ...) the inputmask can detect if it where cloned and can reactivate the masking. However when setting the value with jQuery.val there is none of the events triggered in that case. The setvalue functionality does this for you.
Unmask a given value against the mask.
Value to be unmasked.
Mask options.
Generated using TypeDoc
Creates a new Inputmask instance.