chore(docs): fix typo
This commit is contained in:
committed by
GitHub
parent
8f9c84420e
commit
1ed6404456
@@ -30,7 +30,7 @@ lv_obj_clear_state(cb, LV_STATE_CHECKED); /*MAke the checkbox unchecked*/
|
|||||||
lv_obj_add_state(cb, LV_STATE_CHECKED | LV_STATE_DISABLED); /*Make the checkbox checked and disabled*/
|
lv_obj_add_state(cb, LV_STATE_CHECKED | LV_STATE_DISABLED); /*Make the checkbox checked and disabled*/
|
||||||
```
|
```
|
||||||
|
|
||||||
To get whether the checkbox is cehcked or not use: `lv_obj_has_state(cb, LV_STATE_CHECKED)`.
|
To get whether the checkbox is checked or not use: `lv_obj_has_state(cb, LV_STATE_CHECKED)`.
|
||||||
|
|
||||||
## Events
|
## Events
|
||||||
- `LV_EVENT_VALUE_CHANGED` Sent when the checkbox is toggled.
|
- `LV_EVENT_VALUE_CHANGED` Sent when the checkbox is toggled.
|
||||||
|
|||||||
Reference in New Issue
Block a user