runCommand

abstract infix fun runCommand(command: String): Styler

Applies a click event that runs a command when clicked.

Return

this Styler instance for chaining

Parameters

command

the command to run (e.g., "/help")