Skip to main content

SpinButton

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.

Examples

Properties

NameTypeDefaultDescription
valuenumberCurrent value of the SpinButton.
labelstringDescriptive label for the control.
minnumberThe min value of the SpinButton.
maxnumberThe max value of the SpinButton.
stepnumberThe difference between the two adjacent values of the SpinButton.
iconstringIcon to display alongside the control's label.
datastringAdditional data attached to the control. The value is passed in change event data along with the SpinButton value.

Events

NameDescription
changeFires when the value of the SpinButton has been changed.