ModifiersBuilders.Clickable

Added in 1.0.0
Deprecated in 1.2.0

class ModifiersBuilders.Clickable


A modifier for an element which can have associated Actions for click events. When an element with a ClickableModifier is clicked it will fire the associated action.

Summary

Nested types

Builder for Clickable

Public functions

String

Gets the ID associated with this action.

ActionBuilders.Action?

Gets the action to perform when the element this modifier is attached to is clicked.

Public functions

getId

Added in 1.0.0
Deprecated in 1.2.0
fun getId(): String

Gets the ID associated with this action. Intended for testing purposes only.

getOnClick

Added in 1.0.0
Deprecated in 1.2.0
fun getOnClick(): ActionBuilders.Action?

Gets the action to perform when the element this modifier is attached to is clicked. Intended for testing purposes only.