stbaer / rangeslider-js

Lightweight rangeslider with touch support
http://stbaer.github.io/rangeslider-js/
MIT License
45 stars 13 forks source link

Feature request - Non-incremental steps #10

Open ghost opened 5 years ago

ghost commented 5 years ago

It would be handy if the steps could be a pre determined array.

When an array is provided it could just be 7 steps as below that go from point to point.

steps: [0, 5, 10, 25, 50, 100, 200]
stbaer commented 5 years ago

Sorry for the late reply, I'll consider it if you make a PR ;)