Slider

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

Import this type with “”

Type: number, default:

The maximum value.

minimum

Type: number, default:

The minimum value.

selection

Type: number, default:

The actual value.

The color used to display the current selection.

maximumChanged

Fired when the property has changed.

Event Parameters

  • value: number The new value of .

minimumChanged

Fired when the property has changed.

Event Parameters

  • target: this The widget the event was fired on.

Fired when the selection property is changed by the user.

Event Parameters

  • selection: number The new value of selection.

selectionChanged

Fired when the selection property has changed.

Event Parameters

tintColorChanged

Fired when the tintColor property has changed.

Event Parameters

  • target: this The widget the event was fired on.

原文: