OnFocusChanged

Event triggered when the focus state of the expiration date field changes. This event helps manage the visual state of the input field and can be used to show/hide additional UI elements based on focus.

Parameters

isFocused

Whether the field currently has focus

Example:

when (event) {
is ExpirationDateTextFieldEvent.OnFocusChanged -> {
if (event.isFocused) {
showDateFormatHint()
} else {
hideDateFormatHint()
}
}
}

Constructors

Link copied to clipboard
constructor(isFocused: Boolean)

Properties

Link copied to clipboard