Imask

class Imask(imask: dynamic) : Mask

Text input mask controller implementation with Imask.js library

Constructors

Link copied to clipboard
constructor(imask: dynamic)

Functions

Link copied to clipboard
open override fun destroy()

Destroy and cleanup.

Link copied to clipboard
open override fun getValue(): String?

Get current, unmasked value.

Link copied to clipboard
open override fun onChange(callback: (String?) -> Unit)

Install callback when the input text value is changed.

Link copied to clipboard
open override fun refresh()

Refresh the mask controller after external change.