focusable
Source set: Common
public fun Modifier.focusable(
enabled: Boolean = true,
interactionSource: MutableInteractionSource? = null,
): Modifier
Configure component to be focusable via focus system or accessibility "focus" event.
Add this modifier to the element to make it focusable within its bounds.
Parameters
| enabled | Controls the enabled state. When false, element won't participate in the focus |
| interactionSource | MutableInteractionSource that will be used to emit FocusInteraction.Focus when this element is being focused. |