Skip to content

Ability to show all available values #89

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

Closed
mykyta-shulipa opened this issue Jul 23, 2015 · 4 comments
Closed

Ability to show all available values #89

mykyta-shulipa opened this issue Jul 23, 2015 · 4 comments

Comments

@mykyta-shulipa
Copy link

Is it possible to show all available values to select? (e.g. when we have slider from 0 to 10, it will show us all options, not first and last only)

@ValentinH
Copy link
Member

With the current version, it is not possible. Also, the code only handles displaying limits values and current value, it wasn't think to display all of them. So it would be quite complicated to implement it.

There is a PR ( #68 ) that add ticks displays on the slider that might approach what you wanna do.

@mykyta-shulipa
Copy link
Author

Ok, got it.
I saw it, but it shows ticks and not values.

Maybe, you can suggest right way to implement this?

@ValentinH
Copy link
Member

As I said it is quite complicated because you need to add an DOM element for each value, giving it the correct value, correct position (it might depends on the value width)... You can check how I implemented the ticks to get some clues.

@mykyta-shulipa
Copy link
Author

hmm....
anyway, thanks!

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