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

Minimum Difference between upperBound and lowerBound #55

Open
Noor-Ahmed-Natali opened this issue Aug 22, 2022 · 3 comments
Open

Minimum Difference between upperBound and lowerBound #55

Noor-Ahmed-Natali opened this issue Aug 22, 2022 · 3 comments

Comments

@Noor-Ahmed-Natali
Copy link

I am using this library for range slider in my project for age range. now i want minimum 5 years of difference in between minimum age and maximum selected i am unable to find any thing regarding this.

@alex-sarkisov
Copy link

Any updates on this?

@ay42
Copy link
Member

ay42 commented Oct 12, 2022

@Noor-Ahmed-Natali @alex-sarkisov
In the release 2.1.0 you can now specify distance range. (Minimum ... Maximum)

RangeSlider(range: $model.range, distance: 0.1 ... 1.0)

Hope this helps!

@alex-sarkisov
Copy link

Thank you so much @ay42. Super useful update :)

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

No branches or pull requests

3 participants