ImaskOptions

data class ImaskOptions(val pattern: PatternMask? = null, val range: RangeMask? = null, val enum: EnumMask? = null, val number: NumberMask? = null, val regExp: <Error class: unknown class>? = null, val function: (String) -> Boolean? = null, val list: List<ImaskOptions>? = null, val overwrite: MaskOverwrite? = null) : MaskOptions

A text input mask configuration.

Constructors

Link copied to clipboard
constructor(pattern: PatternMask? = null, range: RangeMask? = null, enum: EnumMask? = null, number: NumberMask? = null, regExp: <Error class: unknown class>? = null, function: (String) -> Boolean? = null, list: List<ImaskOptions>? = null, overwrite: MaskOverwrite? = null)

Properties

Link copied to clipboard
val enum: EnumMask? = null
Link copied to clipboard
val function: (String) -> Boolean? = null
Link copied to clipboard
val list: List<ImaskOptions>? = null
Link copied to clipboard
val number: NumberMask? = null
Link copied to clipboard
Link copied to clipboard
val pattern: PatternMask? = null
Link copied to clipboard
val range: RangeMask? = null
Link copied to clipboard
val regExp: <Error class: unknown class>? = null

Functions

Link copied to clipboard
open override fun maskNumericValue(value: String): String
Link copied to clipboard
fun ImaskOptions.toJs(imask: dynamic): dynamic

An extension function to convert configuration class to a JS object.