clickEvent

abstract infix fun clickEvent(component: Component): Styler

Applies a click event from another component.

Return

this Styler instance for chaining

Parameters

component

the component whose click event to apply


abstract infix fun clickEvent(event: ClickEvent): Styler

Applies a click event to the text.

Return

this Styler instance for chaining

Parameters

event

the click event to apply