smartVISU
11:34,29.03, v2.6

Basic-Widgets

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


basic.flip

Displays a flip-switch

Parameters
{{basic.flip(id, gad, txt_on, txt_off) }}
id
unique id for this widget
gad
a gad/item
txt_on
text for the 'on' state (optional, default 'On')
txt_off
text for the 'off' state (optional, default 'Off')
Examples
{{ basic.flip('flip1', 'bath_light_switch') }}
With other on/off-text
{{ basic.flip('flip2', 'bath_light_switch', '1', '0') }}
Some text beside the flip

Widgets

Design

Misc