ImaskOptions

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

A text input mask configuration.

Constructors

Link copied to clipboard
fun ImaskOptions(    pattern: PatternMask? = null,     range: RangeMask? = null,     enum: EnumMask? = null,     number: NumberMask? = null,     regExp: <ERROR 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
val overwrite: MaskOverwrite? = null
Link copied to clipboard
val pattern: PatternMask? = null
Link copied to clipboard
val range: RangeMask? = null
Link copied to clipboard
val regExp: <ERROR CLASS>? = null

Extensions

Link copied to clipboard
fun ImaskOptions.toJs(imask: dynamic): dynamic

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