IonDen / ion.rangeSlider

jQuery only range slider
http://ionden.com/a/plugins/ion.rangeSlider/en.html
MIT License
2.56k stars 508 forks source link

Custom values with 1000 step #735

Open sunil-k-sohal opened 3 years ago

sunil-k-sohal commented 3 years ago

I have a requirement where I numbers at the top would be: $1,000 or less | $10,000 | $20,000 | $30,000 | $40,000 | $50,000 | $60,000 | $70,000 | $80,000 | $90,000 | $100,000 or more and the possible values the respondent can select should be in increments of $1,000.

Can you please suggest if this can be doable?

IonDen commented 3 years ago

Custom values are doable with values: ['$1,000', '$10,000', ...] Step of $1,000 is doable with step: 1000 parameter.

But you can't archive both at the same time.

You could simulate labels you need with adding labels technique: https://jsfiddle.net/IonDen/tdvxs3zL/