hoverable
Source set: Common
public fun Modifier.hoverable(
interactionSource: MutableInteractionSource,
enabled: Boolean = true,
): Modifier
Configure component to be hoverable via pointer enter/exit events.
Parameters
| interactionSource | MutableInteractionSource that will be used to emit HoverInteraction.Enter when this element is being hovered. |
| enabled | Controls the enabled state. When false, hover events will be ignored. |