Try Install Learn Blog API Packages GitHub
Pages

Ui.Slider

A simple slider component.

Properties

disabled
:
Bool
=
false

Whether or not the slider is disabled.

max
:
Number
=
100

The maximum value for the slider.

min
:
Number
=
0

The minimum value for the slider.

onChange
:
Function(Number, Promise(Never, Void))
=
Promise.never1

The change event handler.

size
:
Ui.Size
=
Ui.Size::Inherit

The size of the slider.

step
:
Number
=
1

The number that specifies the granularity that the value must adhere to.

value
:
Number
=
0

The current value of the slider.

Functions

handleInput
(
event
:
Html.Event
)
:
Promise(Never, Void)

The input event handler.

render
:
Html

Renders the slider.