Basic-Widgets

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


basic.offset

Displays a button to shift offset

Parameters
{{ basic.offset(id, item, step, icon, text, type, min, max) }}
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)
min
lowest allowed value (optional, default: no limit)
max
highest allowed value (optional, default: no limit)
Examples
Current value: ---
{{ basic.offset('', 'bath.rtr.set', '', '', '+1') }}
+1
{{ basic.offset('', 'bath.rtr.set', -0.5, 'minus', '', 'micro') }}
New in v3.2: limits can be added
{{ basic.offset('', 'bath.rtr.set', -0.5, 'minus', '', 'micro', '0', '28') }}
{{ basic.offset('', 'bath.rtr.set', -0.5, 'minus', '', 'micro', '0', '28') }}

Author: Martin GleiƟ and others

Widgets

Design

Misc