jslider icon indicating copy to clipboard operation
jslider copied to clipboard

Explicitly set returning values?

Open hellsing71 opened this issue 10 years ago • 0 comments

Hi Guys,

Is it possible to set non-linear returning values explicitly? I'm working on a warehouse app and need a slider to set suggested min-max age range of toys (eg. Lego Ninjago: 8-12years). I'd like to use jSlider like:

values: [0, 6, 12, 24, 36, 48, 72, 120, 168, 216, 1200],
scale: ['0m', '6m', '12m', '18m', '24m/2y', '4y', '6y', '10y', '14y', '18y', 'any']

I also need to bind somehow the slider to the values but can't give a 'step' as I don't have a fixed step value.

Is there any way to do this? I couldn't find a reference in the docs nor a sample with this function.

hellsing71 avatar Jul 26 '15 13:07 hellsing71