Slider~
obj:slider
Property | Value | Default | Description |
---|---|---|---|
min | int16 | 0 | minimum value of the indicator |
max | int16 | 100 | maximum value of the indicator |
val | int16 | 0 | current value of the indicator |
start_value | int16 | 0 | optional minimal allowed value of the indicator |
Vertical sliders can be created if the width of the object is smaller than its height.
Note
min
, max
, val
and start_value
also support negative values.
Example jsonl
1 |
|
While pressing and dragging the slider
object the following events are sent: down
(old value), changed
(repeatedly until released) and up
(value at the moment of releasing it):
1 2 3 4 5 6 7 |
|