Basic-Widgets

basic.button basic.checkbox basic.colordisc basic.dual basic.flip basic.float basic.formula basic.glue basic.multistate 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, item, min, max, step, mode) }}
id
unique id for this widget
item
a 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') }}

Author: Martin GleiƟ and others

Widgets

Design

Misc