Interface

FocusEventModifier

A modifierModifier.Element that can be used to observe focus state events.

Source set: Common

Deprecated

Use FocusEventModifierNode instead

@JvmDefaultWithCompatibility
interface FocusEventModifier : Modifier.Element

A modifier that can be used to observe focus state events.

Functions

onFocusEvent

fun onFocusEvent(focusState: FocusState)

A callback that is called whenever the focus system raises events.

Last updated: