Methods
applyMask
- applyMask(mask: string | undefined, newValue: string, oldValue?: undefined | string): MaskedString
-
Parameters
-
mask: string | undefined
-
newValue: string
-
Optional oldValue: undefined | string
getMaxLengthBasedOnMask
- getMaxLengthBasedOnMask(mask?: undefined | string): number
-
Parameters
-
Optional mask: undefined | string
Returns number
removeMask
- removeMask(mask: string | undefined, value: string): string
-
Parameters
-
mask: string | undefined
-
value: string
Returns string