lvgl.timer
Display a button showing a timer name. When tapped a popup menu is opened to choose a timer from. Uses EdgeTX styling.
Syntax
lvgl.timer([parent], {settings})
parent:timer({settings})
Parameters
See the API page for parameter description and common settings.
Timer specific settings:
get
Function
Called to get the currently selected timer, when the popup menu is first opened.
nil
set
Function
Called when the user taps on an timer button. The function is passed a single parameter wihich is the selected timer value.
nil
Return values
LVGL object
Notes
The popup menu is closed when the user selects an item, and the 'set' function is called.
If the user taps outside the menu or the RTN key is pressed, the popup menu is closed and the 'set' function is not called.
API Status
BW radios
Color radios
Only available for One-Time script
Change log
2.11.0
Introduced
Was this helpful?