#6118 closed enhancement (wontfix)
Support for non-linear incrementation
Reported by: | pkruithof | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ui.slider | Version: | 1.8.5 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
It would be nice to have the possibility to provide a function that maps a handle's position to a specific value, rather than using a linear function. Something like the easing functions in animations.
This comes in handy when selecting a value/range where the first half of the slider needs to represent 3/4 of the total range. For instance: a money filter, with a commonly used range of 0-3000, but with a uncommon range of 3000-6000.
Change History (3)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Here's a non-linear increment that actually implements what you describe: http://jsbin.com/ufave4/edit
Note: See
TracTickets for help on using
tickets.
Here's a non-linear increment example: http://jsbin.com/ecope3/edit