InteractionState

Captures the current state of an interactive element.

Properties

Link copied to clipboard
abstract val enabled: Boolean

Whether the element is currently enabled.

Link copied to clipboard
abstract val focused: Boolean

Whether the element is currently focused.

Link copied to clipboard
abstract val hovered: Boolean

Whether the element is currently hovered.

Link copied to clipboard
abstract val pressed: Boolean

Whether the element is currently pressed.

Link copied to clipboard
abstract val selected: Boolean

Whether the element is currently selected.