Slider

A widget representing a numeric value as an movable indicator on a horizontal line. Includes Widget

Properties

maximum

Type: number, default: 100

The maximum value.

minimum

Type: number, default: 0

The minimum value.

selection

Type: number, default: 0

The actual value.

Events

“change:selection” (widget, selection, options)

Parameters:

  • widget: this
  • selection: number, the new value of selection.
  • options: any

Fired when the selection property changes.

“select” (widget, selection, options)

Parameters:

Fired when the selection property is changed by the user.

See also