Optional
opts: Partial<Pick<MaskedDynamic<any>, "eager" | "mask" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "format" | "parse" | "overwrite" | "skipInvalid" | "autofix" | "dispatch">>Optional
_autofixOptional
_eagerOptional
_isolatedOptional
_overwriteOptional
_refreshingOptional
_skipOptional
commitDoes additional processing at the end of editing
Compliled Masked options
Optional
currentCurrently chosen mask
Chooses Masked depending on input value
Optional
exposeCurrently chosen mask
Optional
formatFormat typed value to string
Optional
parentOptional
parseParse string to get typed value
Optional
prepareTransforms value before mask processing
Optional
prepareTransforms each char before mask processing
Optional
validateValidates if value is acceptable
Static
DEFAULTSStatic
EMPTY_Enable characters overwriting
Enable characters overwriting
Value that includes raw user input
Mask state
Appends char
Optional
checkTail: TailDetailsAppends char
Appends optional eager placeholder at the end
Appends optional placeholder at the end
Sets new options
Appends symbols considering flags
Optional
flags: AppendFlags<MaskedState>Optional
tail: string | String | TailDetailsAppends tail
Prepares string before mask processing
Prepares each char before mask processing
Optional
checkTail: TailDetailsValidates if value is acceptable
Extracts value in range considering flags
Optional
fromPos: numberOptional
toPos: numberOptional
flags: ExtractFlagsExtracts tail in range
Optional
fromPos: numberOptional
toPos: numberFinds nearest input position in direction
Optional
direction: DirectionOptional
flags: AppendFlags<MaskedState>Optional
fromPos: numberOptional
toPos: numberResolve new value
Sets and applies new options
Dynamic mask for choosing appropriate mask in run-time