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

A multi states button to extend the basic.dual behavior

Parameters
{{ basic.multistate(id, item, val, img, type) }}
id
unique id for this widget
item
a item for command
val
array of values
img
array of icons path and name
type
type: 'micro', 'mini', 'midi' (optional, default: mini)
Example
{{ basic.multistate('id', 'item', ['5', '6', '7'], ['image_0', 'image_3', 'image_2'], 'mini') }}
Click on the button to change the inside image ...
Sent value : ---

Author: Pierre-Yves KERVIEL

Widgets

Design

Misc