A spin button allows someone to incrementally adjust a value in small steps. It’s mainly used for numeric values, but other values are supported too.
Name | Type | Default | Description |
---|
value | number | | Current value of the SpinButton. |
label | string | | Descriptive label for the control. |
min | number | | The min value of the SpinButton. |
max | number | | The max value of the SpinButton. |
step | number | | The difference between the two adjacent values of the SpinButton. |
icon | string | | Icon to display alongside the control's label. |
data | string | | Additional data attached to the control. The value is passed in change event data along with the SpinButton value. |
Name | Description |
---|
change | Fires when the value of the SpinButton has been changed. |