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

Possible to set range with no crossover? #8

Closed
Noitidart opened this issue May 23, 2018 · 5 comments
Closed

Possible to set range with no crossover? #8

Noitidart opened this issue May 23, 2018 · 5 comments

Comments

@Noitidart
Copy link

Is it possible to just use two thumbs, and make it so that left does not cross over the right? And viceversa?

@yonat
Copy link
Owner

yonat commented May 24, 2018

Sure, just do:

slider.value = [17, 42]

@yonat yonat closed this as completed May 24, 2018
@Noitidart
Copy link
Author

Thanks @yonat - but i meant if user is dragging, it should prevent them from dragging the left over the right thumb, and vice versa.

@yonat
Copy link
Owner

yonat commented May 24, 2018

Yes, this is the behavior of the control. Try and enjoy!

@Noitidart
Copy link
Author

Ohh thank you very much!!

I actually am react native developer, and am going to try to bridge this module as my first bridge! :)

@yonat
Copy link
Owner

yonat commented May 24, 2018

👍

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