Skip to content

Not an Issue: Dynamic Step support #349

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
kimwandev opened this issue Jun 12, 2016 · 6 comments
Closed

Not an Issue: Dynamic Step support #349

kimwandev opened this issue Jun 12, 2016 · 6 comments
Labels

Comments

@kimwandev
Copy link

I'm wondering if you are going to support dynamic steps?

for example I have a min: 0 to max: 3,000,000 and I would like to have different steps for 0 - 3000 range, 3000 - 1,000,000 range and 1,000,000 to 3,000,000 range.

  1. 0 - 3000 will have 100 steps
  2. 3000 - 1000000 will have 1000 steps
  3. 1000000 - 3000000 will have 250,000 steps

but they will only use a single slider

let me know if you have answer

Regards,
Kim

@ValentinH
Copy link
Member

I think that #280 solves an issue similar to yours but it doesn't handle ticks...

@ValentinH
Copy link
Member

An other option is to update the step value on the onChange event: http://jsfiddle.net/5kaea452/

@kimwandev
Copy link
Author

do you have sample implementation for Min Max?

@ValentinH
Copy link
Member

What do you mean?

@kimwandev
Copy link
Author

I mean you are using single value slider as your example. How about slider with range value?

http://jsfiddle.net/kimwan/jzbu207b/

@ValentinH
Copy link
Member

Oh OK, then it won't work.

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

No branches or pull requests

2 participants