SliderComponent.setLimits method
SliderComponent › setLimits
Official
Set the limits of the slider.Signature:
setLimits(min: number, max: number, step: number | "any"): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| min | number | The minimum value. |
| max | number | The maximum value. |
| step | number | "any" | The step value. |
Returns: this — The slider.
Since: 0.9.7
Example:
slider.setLimits(0, 100, 1);