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

Displays a button to shift offset

Parameters
{{ basic.offset(id, item, step, icon, text, type) }}
id
unique id for this widget (optional)
item
an item
step
step between two values; use positive numbers to increase, negative ones to decrease (optional, default 1)
icon
icon to show on the button (optional)
text
text printed on the button (optional)
type
valid types: 'micro', 'mini', 'midi', 'icon', 'text' (optional, default: mini)
Examples
Current value: ---
{{ basic.offset('', 'bath.rtr.set', '', '', '+1') }}
+1
{{ basic.offset('', 'bath.rtr.set', -0.5, 'minus', '', 'micro') }}

Author: Martin Gleiss and others

Widgets

Design

Misc