-
Notifications
You must be signed in to change notification settings - Fork 0
4.1 Slider
Jonas de Luna Skulberg edited this page Oct 15, 2023
·
3 revisions
A number-value slider used for interactivity.
- none
- none
-
minValue: number
Minimum value of the slider. -
maxValue: number
Maximum value of the slider.
minValue: -5,
maxValue: 5,
- none
-
addObserver(observer: (value: number) => void)
Adds an onChange listener to the slider. -
removeObserver(observer: (value: number) => void)
Removes an observer from the slider at specified index.