Basic-Widgets

basic.checkbox basic.color basic.flip basic.glue basic.icon basic.input basic.listview basic.offset basic.print basic.select basic.shutter basic.slider basic.roundslider basic.stateswitch basic.symbol basic.tank basic.trigger basic.window basic.shifter


basic.shifter

Deprecated as of version 2.9.b, use the icon widget or basic.symbol instead.

Has been a switch, build of a series of icons. The series may now be a dynamic svg-icon (icon.NAME), only.

Parameters
{{ basic.shifter(id, item_switch, item_value, pic_on, dummy, min, max) }}
id
unique id for this widget (optional)
item_switch
an item for the switch (optional)
item_value
{item}(num,list) an item for the value
pic_on
dynamic icon from ./widget/icon.html
dummy
not used any more
min
the minimum value for the item (optional, default 0)
max
the minimum value for the item (optional, default 255)
Use the slider to control the shifter
Basic.shifter uses the dynamic icons "icon.NAME". It can be replaced by basic.symbol with more options like variable coloring or directly by the dynamic icons themselves. The widget might be revoved in future versions of smartVISU.
Examples
{{ basic.shifter('svg1', '...', '...', 'icon.arrow') }}
{{ basic.shifter('svg2', '...', '...', 'icon.battery') }}

N N

Author: Martin Gleiss and others

Widgets

Design

Misc