[lvgl] Document update_on_release for number (#4132)

This commit is contained in:
Clyde Stubbs 2024-08-14 12:05:28 +10:00 committed by GitHub
parent c8a20d91f3
commit 08aaee13a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,6 +15,7 @@ Configuration variables:
- **widget** (**Required**): The ID of a supported widget configured in LVGL, which will reflect the state of the number. - **widget** (**Required**): The ID of a supported widget configured in LVGL, which will reflect the state of the number.
- **animated** (*Optional*, boolean): Whether to set the value of the widget with an animation (if supported by the widget). Defaults to ``true``. - **animated** (*Optional*, boolean): Whether to set the value of the widget with an animation (if supported by the widget). Defaults to ``true``.
- **update_on_release** (*Optional*, boolean): By default the number will publish a new value each time the value of the associated widget changes. If this option is ``true`` then the value will only be published when touch is released.
- All other variables from :ref:`Number <config-number>`. - All other variables from :ref:`Number <config-number>`.
Example: Example: