Try Install Learn Blog API Packages GitHub
Pages

Ui.Checkbox

A simple checkbox component.

Properties

checked
:
Bool
=
false

Wether or not the checkbox is checked.

disabled
:
Bool
=
false

Wether or not the checkbox is disabled.

onChange
:
Function(Bool, Promise(Never, Void))
=
Promise.never1

The handler for the change event.

size
:
Number
=
16

The size of the checkbox.

Functions

focus
:
Promise(Never, Void)

Focuses the checkbox.

render
:
Html

Renders the checkbox.

toggle
:
Promise(Never, Void)

Toggles the checkbox.