onClick

val onClick: (InventoryClickEvent) -> Unit

Parameters

onClick

The action that will be triggered when the button is clicked.