IonDen / ion.rangeSlider

jQuery only range slider
http://ionden.com/a/plugins/ion.rangeSlider/en.html
MIT License
2.56k stars 508 forks source link

ionRangeSlider with dual knobs value increases in the same step #653

Closed vcstack closed 4 years ago

vcstack commented 5 years ago

image

I want the value from and to change step by step equally. Example, when dragging and changing the value of From increase by 1 step then value of To auto increase with value of From

vcstack commented 5 years ago

Example from = -500 when dragging and changing value of from =-250, then value of To auto increase = 525, when value of from change inscrease 1 step then value of to increase accordingly, same for the other case. Please help me

IonDen commented 5 years ago

Maybe you need this? https://jsfiddle.net/IonDen/gq8re42u/

drag_interval feature. If you drag interval itself it will move both handles at the same time.

vcstack commented 5 years ago

Thank @IonDen I want to drag knob left, it move both knob left and right with equal step

IonDen commented 5 years ago

Sorry, there is no such an option. But good idea, will implement this in 3.x

vcstack commented 5 years ago

Thanks I will look forward to this in the upcoming release