Try Install Learn Blog API Packages GitHub
Pages
mint-ui

Search
Basic information
Entities
Versions
Dependencies
mint-color 0.0.0 <= v < 1.0.0

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.