step([value])
Class: Spinner.
Description:
Gets or sets the step increment/decrement for the spinner when changing values via arrows or keyboard.
Applicable only if the spinner was initialized with {Spinner.Type.Number}, {Spinner.Type.DateTime}, or {Spinner.Type.IPv4}.
Returns null if spinner type is {Spinner.Type.List}.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
number |
The step size to set. |
Returns:
The current step size, null if not applicable, or the Spinner instance when setting.
Type: number | null | Spinner
