CheckBox
Use a CheckBox
to let the user select or deselect values, for example in a list with multiple options. Consider using a Switch
element instead if the action resembles more something that’s turned on or off.
Properties
checked
bool (in-out)
default: false
Whether the checkbox is checked or not.
enabled
bool default: true
Defaults to true. When false, the checkbox can’t be pressed.
has-focus
bool (out)
default: false
Set to true when the checkbox has keyboard focus.
text
string default: ""
The text written next to the checkbox.
Callbacks
toggled()
The checkbox value changed
© 2024 SixtyFPS GmbH