smartVISU
22:05,23.07, v2.7

Basic-Widgets

basic.button basic.checkbox basic.colordisc basic.dual basic.flip basic.float basic.formula basic.glue basic.rgb basic.shifter basic.shutter basic.slider basic.switch basic.symbol basic.tank basic.text basic.trigger basic.value


basic.slider

Displays a slider-control

Parameters
{{basic.slider(id, gad, min, max, step, mode) }}
id
unique id for this widget
gad
a gad/item
min
the minimum value if the slider is moved to total left (optional, default 0)
max
the maximum value if the slider is moved to total right (optional, default 255)
step
step between two values (optional, default 5)
mode
the orientation ('none', 'vertical', 'bottomup', 'semicircle')
Examples
{{ basic.slider('slider1', 'bath_light_value') }}
{{ basic.slider('slider2', 'bath_light_value', 0, 100, 10) }}
{{ basic.slider('slider3', 'bath_light_value', 0, 255, 5, 'vertical') }}
{{ basic.slider('slider4', 'bath_light_value', 0, 255, 5, 'bottomup') }}
{{ basic.slider('slider5', 'bath_light_value', 0, 255, 5, 'semicircle') }}

Widgets

Design

Misc