OnLengthChanged

Event triggered when the length of the expiration date input changes. This event helps track the progress of date input and can be used to update UI elements like progress indicators.

Parameters

length

The current number of digits entered

Example:

when (event) {
is ExpirationDateTextFieldEvent.OnLengthChanged -> {
updateProgressBar(event.length)
}
}

Constructors

Link copied to clipboard
constructor(length: Int)

Properties

Link copied to clipboard
val length: Int