OnFocusChanged
Event triggered when the focus state of the security code 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 SecurityCodeTextFieldEvent.OnFocusChanged -> {
if (event.isFocused) {
showSecurityCodeHint()
} else {
hideSecurityCodeHint()
}
}
Content copied to clipboard