lvgl.clear

Delete LVGL objects.

Syntax

lvgl.clear([parent])

parentclear()

Parameters

See the API page for parameter description and common settings.

The 'settings' parameter is not used.

Notes

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.

API Status

AvailStatusComment

BW radios

Color radios

active

Change log

EdgeTX versionChange

2.11.0

Introduced