chore(docs): fix typo

This commit is contained in:
Gabor Kiss-Vamosi 2022-07-07 22:34:04 +02:00 committed by GitHub
parent 8f9c84420e
commit 1ed6404456
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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*/
```
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
- `LV_EVENT_VALUE_CHANGED` Sent when the checkbox is toggled.