Add a slider using the EdgeTX style.
lvgl.slider([parent], {settings})
parent:slider({settings})
See the API page for parameter description and common settings.
Slider specific settings:
min
Number
Minimum value for the slider range (left end).
0
max
Number
Maximum value for the slider range (right end).
100
get
Function
Called to get the currrent value for the slider knob. Should rethrn a value between min and max (inclusive).
nil
set
Function
Called when the user interacts with the slider and changes the knob position. The function is passed a single number parameter with the new value.
LVGL object
BW radios
Color radios
Only available for One-Time scripts
2.11.0
Introduced