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.float

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

Displays a value as float

Parameters
{{ basic.float(id, item, unit, tag, threshold, color) }}
id
unique id for this widget (optional)
item
an item
unit
a unit, tries to get the format for that unit from the language-file (optional, default 'float')
tag
the parent html-tag for the value (optional, default 'span')
threshold
array of thresholds; the color according to greatest reached threshold is applied. Use '' to define base color. (optional)
color
array of colors; 'icon1' or e. g. '#f00' for red (optional)
*
This widget is deprecated and may be removed in later versions.
Please look into basic.print for replacement and further information.

Author:Martin Gleiss and others

Widgets

Design

Misc