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 functions

From androidx.compose.ui.node.DelegatableNode
open Unit

Invoked when the density changes for this node.

Cmn
open Unit

Invoked when the layout direction changes for this node.

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.