Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add support for custom ranges #6

Open
BennyAlex opened this issue Aug 24, 2020 · 2 comments
Open

[Feature] Add support for custom ranges #6

BennyAlex opened this issue Aug 24, 2020 · 2 comments

Comments

@BennyAlex
Copy link

Hello,

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

@BennyAlex BennyAlex changed the title Add support for custom ranges [Feature] Add support for custom ranges Aug 24, 2020
@soundar24
Copy link
Owner

@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

@BennyAlex
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants