vue-round-slider icon indicating copy to clipboard operation
vue-round-slider copied to clipboard

[Feature] Add support for custom ranges

Open BennyAlex opened this issue 5 years ago • 2 comments

Hello,

it would be nice to have custom ranges like [1, 3, 9, 15 ...] instead of min & max and a fixed step.

BennyAlex avatar Aug 24 '20 10:08 BennyAlex

@BennyAlex based on your application requirement you can form your custom values as an array and use those values for the slider input.

Here I have updated the demo for the custom range, check this sample and update me your comments:

https://codesandbox.io/s/label-number-around-circle-forked-t3we6?file=/src/components/SliderDemo.vue

soundar24 avatar Aug 24 '20 21:08 soundar24

Hey, u are right, I just thought it would be nice if this feature would be supported natively :)

BennyAlex avatar Aug 25 '20 14:08 BennyAlex