FocusEventModifierNode


Implement this interface create a modifier node that can be used to observe focus state changes to a FocusTargetNode down the hierarchy.

Summary

Public functions

Unit
onFocusEvent(focusState: FocusState)

A parent FocusEventNode is notified of FocusState changes to the FocusTargetNode associated with this FocusEventModifierNode.

Cmn

Inherited properties

From androidx.compose.ui.node.DelegatableNode
Modifier.Node

A reference of the Modifier.Node that holds this node's position in the node hierarchy.

Cmn

Public functions

onFocusEvent

fun onFocusEvent(focusState: FocusState): Unit

A parent FocusEventNode is notified of FocusState changes to the FocusTargetNode associated with this FocusEventModifierNode.