FocusEventModifierNode

  • Common/All

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

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

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.