smartVISU
03:34,20.06, 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.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