ControlAction

constructor(executeOnInit: Boolean = false, action: suspend ActionContext<T>.() -> Unit)

Parameters

action

Lambda to run. Gets ActionContext as its receiver (this).

Type Parameters

T

type of the value of the control that triggers the action.