cables is under heavy development.
There might be one or another bug, please let us know about it!

Incrementor Op


Namespace: Ops.Sidebar

Op author: stephan

There is a newer version of this op!

This version will not receive any updates. It is recommended to use a newer version.

Current version: Ops.Sidebar.Incrementor_v2

steps through numerical or array values one by one

summary (oneliner)

exposes a "plus" and "minus" button to the sidebar and given max/min/stepsize increments or decrements the current value by the stepsize.

if given an array min/max/stepsize are being ignored and the buttons cycle through the array elements one by one.



example patch id

youtube id

caniuse query


related ops


link (Object)

link to sidebar

Label (string /Number)

the label on the sidebar

min (Number)

minimum value while decrementing

max (Number)

maximum value while incrementing

stepsize (Number)

size of each "step" (increment and decrement)

Values (Array)

optional array for stepping through it's items


childs (Object)

link to sidebar

value (Number)

the current value

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

Sidebar.Incrementor Example

Open Example In Editor

Patches using Incrementor