smartVISU
17:57,21.12, v2.7

Basic-Widgets

basic.button basic.checkbox basic.colordisc basic.dual basic.flip basic.float basic.formula basic.glue 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, gad_pos, gad_angle, min, max, step, mode) }}
id
unique id for this widget
gad_pos
a gad/item for the actual position of the blinds
gad_angle
a gad/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).

inspired by Jörg Gutowski

Widgets

Design

Misc