The metadata of the actual mask provided in the mask definitions can be obtained by calling getmetadata. If only a mask is provided the mask definition will be returned by the getmetadata.
Check whether the returned value is masked or not; currently only works reliably when using jquery.val
fn
to retrieve the value
Verify whether the current value is complete or not.
Validate a given value against the mask.
Create a mask for the input.
Get an option on an existing inputmask.
Name of option to retrieve.
Set an option on an existing inputmask. The option method is intented for adding extra options like callbacks, etc at a later time to the mask.
When extra options are set the mask is automatically reapplied, unless you pas true for the noremask
argument.
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 useful
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.
Gets the unmasked value.
Generated using TypeDoc
Return the default (empty) mask value.