Basic-Widgets

basic.button basic.checkbox basic.colordisc basic.dual basic.flip basic.float basic.formula basic.glue basic.multistate basic.rgb basic.shifter basic.shutter basic.slider basic.switch basic.symbol basic.tank basic.text basic.trigger basic.value


basic.shutter

Displays a shutter-control

Parameters
{{ basic.shutter(id, item_pos, item_angle, min, max, step, mode) }}
id
unique id for this widget
item_pos
a item for the actual position of the blinds
item_angle
a item for the actual angle of the blinds (optional, readonly)
min
the minimum value for close (optional, default 0)
max
the maximum value for open (optional, default 255)
step
step between two values (optional, default 5)
mode
the mode: 'half' blade turns from -1 to +1, or 'full' blade turns from 0 to +1 (optional, default 'half')
Examples
{{ basic.shutter('shutter1', 'bath.blind.pos', 'bath.blind.angle') }}
 
If you want to use individual backgrounds for the shutter place them in 'pics/shutter' with size 150 x 180 as .png.
Add a line to your "visu.css" with #PAGE-ID (current pagename, hyphen, id of the shutter-widget).

Author: Martin Gleiß and others
inspired by Jörg Gutowski

Widgets

Design

Misc