From 08aaee13a3b67e89c74198e6aabb76f9e1037e48 Mon Sep 17 00:00:00 2001 From: Clyde Stubbs <2366188+clydebarrow@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:05:28 +1000 Subject: [PATCH] [lvgl] Document `update_on_release` for number (#4132) --- components/number/lvgl.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/components/number/lvgl.rst b/components/number/lvgl.rst index 0183592cc..29b2e5cfd 100644 --- a/components/number/lvgl.rst +++ b/components/number/lvgl.rst @@ -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. - **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 `. Example: