A UI component that displays a range of values from a minimum to a maximum.

Events:

openfl.events.Event.CHANGE

Dispatched when IRange.value changes.

Available since

1.0.0

.

Variables

maximum:Float

The maximum numeric value of the range.

The following example sets the range of acceptable values and updates the current value:

range.minimum = 0.0;
range.maximum = 100.0;
range.value = 50.0;
Available since

1.0.0

.

minimum:Float

The minimum numeric value of the range.

The following example sets the range of acceptable values:

range.minimum = 0.0;
range.maximum = 100.0;
Available since

1.0.0

.

value:Float

The current numeric value of the range.

The following example sets the range of acceptable values:

range.minimum = 0.0;
range.maximum = 100.0;
Available since

1.0.0

.