OnFocusChanged
Parameters
isFocused
Whether the field currently has focus
Example:
when (event) {
is SimpleTextFieldEvent.OnFocusChanged -> {
if (event.isFocused) {
showHint()
} else {
hideHint()
}
}
}Content copied to clipboard