Opened 13 years ago

Closed 12 years ago

Last modified 10 years ago

#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 Jörn Zaefferer

Here's a non-linear increment example: http://jsbin.com/ecope3/edit

comment:2 Changed 12 years ago by Jörn Zaefferer

Resolution: wontfix
Status: newclosed

Here's a non-linear increment that actually implements what you describe: http://jsbin.com/ufave4/edit

comment:3 Changed 10 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.