Checkbox~
obj:checkbox
Property | Value | Default | Description |
---|---|---|---|
val | int16 | 0 | 1 = checked0 = unchecked |
text | string | "Checkbox" | The label of the checkbox |
Note
The checkbox object ignores the w
and h
attribute. These are calculated
based on the font and text.
Example jsonl
1 |
|
Events generated by checkbox are similar to the ones generate by the toggle buttons.