search API (or start typing anywhere)
Checkbox
mint.Checkbox
A checkbox is a simple true or false switch. Changing the state will trigger the signal. Additional Signals: onchange
class
extends mint.Control
Members
onchange
onchange : mint.core.Signal<>
Emitted whenever state is changed.
function(new_state:Bool, prev_state:Bool)
Properties
state
state : Bool
The current state. Read/Write
Methods
new
new(_options:mint.CheckboxOptions) : Void