darul75 / angular-awesome-slider

:arrows_clockwise: Angular slider control directive
http://darul75.github.io/angular-awesome-slider/
MIT License
144 stars 63 forks source link

stop the slider drag #69

Closed praswebdev closed 9 years ago

praswebdev commented 9 years ago

Can I stop the dual slider drag, when they are one step apart

darul75 commented 9 years ago

I guess yes but I do not undersand, can you send a screenshot or details. thx

praswebdev commented 9 years ago

Right now both pointers overlap and it won't allow u to drag further. That is when the difference is zero. Can i customize this feature. That is stop them when the difference is one and then do not allow the slider to dry further.

darul75 commented 9 years ago

understood, very nice idea, I will implement a minimum gap feature to fix it.

darul75 commented 9 years ago

new release, tell me if it is ok https://github.com/darul75/ng-slider/releases/tag/2.2.0

just put "threshold" option attribute to "1" or "5" for instance to force minimum gap between pointers

praswebdev commented 9 years ago

working good :-) ..thanks