lvgl.clear
Delete LVGL objects.
Was this helpful?
Delete LVGL objects.
lvgl.clear([parent])
parent:clear()
See the API page for parameter description and common settings.
The 'settings' parameter is not used.
If 'parent' is not set then the entire script UI is deleted. Use this when the UI changes dramatically (e.g. widget size changes).
When the 'parent' parameter is defined, only the child LVGL objects within the parent are deleted. Use this to remove and replace a specific set of objects.
BW radios
Color radios
2.11.0
Introduced
Was this helpful?
Was this helpful?