lvgl.verticalSlider
Add a slider using the EdgeTX style with vertical orientation .
Syntax
lvgl.verticalSlider([parent], {settings})
parent:verticalSlider({settings})
Parameters
See the API page for parameter description and common settings.
The size of the slider is set with the 'h' property. The 'w' property is not used.
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.
active
Function
Set the enabled / disabled state. Return value must be a boolean - true to enable the control, false to disable.
nil
Return values
LVGL object
API Status
BW radios
Color radios
Only available for One-Time scripts
Change log
2.11.0
Introduced
Last updated
Was this helpful?