PatternMask

data class PatternMask(    val pattern: String,     val lazy: Boolean? = null,     val eager: Boolean? = null,     val placeholderChar: Char? = null,     val definitions: dynamic = null,     val blocks: Map<String, ImaskOptions>? = null)

A text input mask configuration with a pattern.

Constructors

Link copied to clipboard
fun PatternMask(    pattern: String,     lazy: Boolean? = null,     eager: Boolean? = null,     placeholderChar: Char? = null,     definitions: dynamic = null,     blocks: Map<String, ImaskOptions>? = null)

Properties

Link copied to clipboard
val blocks: Map<String, ImaskOptions>? = null
Link copied to clipboard
val definitions: dynamic = null
Link copied to clipboard
val eager: Boolean? = null
Link copied to clipboard
val lazy: Boolean? = null
Link copied to clipboard
val pattern: String
Link copied to clipboard
val placeholderChar: Char? = null

Extensions

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

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