Class: SpinBox

ui.SpinBox

new ui.SpinBox ()

Element representing a UI spinbox for setting a numeric value within a certain range.

Properties:
Name Type Description
minValue number

(default: 0) The minimum allowed value.

maxValue number

(default: 100) The maximum allowed value.

value number

(default: 0) The current value.

stepSize number

(default: 5) The step size between value changes when pressing one of the step buttons.

styleOfBackground template

The background style template.

styleOfLeftEdge template

The left edge style template.

styleOfRightEdge template

The right edge style template.

Extends

Methods

setValue (v)

Sets the current value.

Name Type Description
v number

The new value.