clickable
Interop Modifier.clickable to apply the correct clickable modifier based on the requirement for hardware input. For example if a Tv device is detected it adds support for hardware clicks from remote controls. This has the added support for Style, applying interactionStyle to update the component based on the current InteractionSource state.
Since
0.2.0
Parameters
Whether the click action handling is enabled.
The interaction source to emit interaction events to.
Optional Style to apply with the clickable.
The Role of the associated user interface element, typically used by Accessiblity services.
Optional callback to handle long click events.
Callback when the element is clicked.
Interop Modifier.clickable to apply the correct clickable modifier based on the requirement for hardware input. For example if a Tv device is detected it adds support for hardware clicks from remote controls. This has the added support for Style, applying interactionStyle to update the component based on the current InteractionSource state.
Since
0.3.4
Parameters
Whether the click action handling is enabled.
The interaction source to emit interaction events to.
Optional Style block to apply with the clickable.
The Role of the associated user interface element, typically used by Accessiblity services.
Optional callback to handle long click events.
Callback when the element is clicked.