NightCatSama/vue-slider-component

how do i set min and max user can slide?

kamaroolkarim opened this issue · 3 comments

i have this kind of use case where i need to show all available options to user. user with free plan can only slide to 1 day, meanwhile user with pro plan kat slide up to 1 week. i expected the drag will stop when free user try to slide higher. how do i achieve this? i have tried setting up max value, doesn't seem to be work.

image

The dotOptions can be set to limit the sliding range of a single slider. document

@NightCatSama alright. let me test it first

nice. it's working. thanks