Basic-Widgets

basic.checkbox basic.color basic.flip basic.glue basic.icon basic.input basic.listview basic.offset basic.print basic.select basic.shifter basic.shutter basic.slider basic.stateswitch basic.symbol basic.tank basic.trigger basic.button basic.dual basic.colordisc basic.float basic.formula basic.rgb basic.multistate basic.switch basic.text basic.value


basic.text

Deprecatedas of version 2.9, use 'basic.symbol' instead.

A dymanic text depending on an item

Parameters
{{ basic.text(id, item, txt_on, txt_off, val_on, val_off) }}
id
unique id for this widget (optional)
item
an item
txt_on
the text for the 'on' state (optional)
txt_off
the text for the 'off' state (optional)
val_on
value send for the 'on' state (optional, default 1)
val_off
value send for the 'off' state (optional, default 0)
This widget is deprecated and may be removed in later versions.
Please look into basic.symbol for replacement and further information.

Author:Martin Gleiss and others
inspired by Marco Fleischer

Widgets

Design

Misc