mask

Methods

(static) _isKeyboardCutPaste(e) → {boolean}

Source:
Parameters:
Name Type Description
e Event

event

Returns:

whether event is a paste event

Type
boolean

(static) _isNotPrintableKey(e) → {boolean}

Source:
Parameters:
Name Type Description
e Event

event

Returns:

whether key is printable

Type
boolean

(static) _setNumberMask(selector, validRegex, allowedChars)

Source:
Parameters:
Name Type Description
selector string

selector of elements to apply mask to

validRegex string

regular expression for valid values

allowedChars string

string of allowed characters