OnLengthChanged
Event triggered when the length of the card number input changes. This event helps track the progress of card number input and can be used to update UI elements like progress indicators.
Parameters
length
The current number of digits entered
Example:
when (event) {
is CardNumberTextFieldEvent.OnLengthChanged -> {
updateProgressBar(event.length)
}
}
Content copied to clipboard