NightCatSama/vue-slider-component

How can I set up limits ?

NadimD opened this issue · 2 comments

Greetings,

I have a slider with a min/max set to 0/245 with a step of 35.
I would like to set the start value to 35, which is working, but prevent the value to be dragged under 35, so that the scale stays right and the user can only drag between 35 and 245.

Any idea how to cover that ? I didn't find limits in the docs.
Thank you.

The property dotOptions can set the min and max of the slider.

https://nightcatsama.github.io/vue-slider-component/#/api/props?hash=dotoptions

Excellent! I missed these two options in dotOptions. Thank you!