freddie-nelson/vue3-slider

Non-linear steps

Closed this issue · 1 comments

Hi!

Is it possible for the slider to use non-linear steps? For instance, to send in an array of values that the slider should use?

There isn't an option for something like this built directly into the slider but it can be implemented relatively easily. I've attached an example of how I would go about doing this, hopefully you find it helpful :)

example