Spinner Widget

Converts a simple text input element to a value spinner.

jQueryUI Spinner API: http://api.jqueryui.com/slider

Options

Min | data-spinner-min | Number | Optional

The minimum value of the spinner. If no value is provided, no minimum limit is set.

Max | data-spinner-max | Number | Optional

The maximum value of the spinner. If no value is provided, no maximum limit is set.

Example

<input type="text" data-gx-widget="spinner" data-spinner-min="1" data-spinner-max="10" />
Source:

Requires

  • module:jQueryUI-Library