tb / ng2-nouislider

Angular2 noUiSlider directive
http://tb.github.io/ng2-nouislider/
MIT License
184 stars 114 forks source link

How to Stop slider #143

Open ku-santosh opened 6 years ago

ku-santosh commented 6 years ago

I have min and max range and want stop slider in middle if I reached the min fixed value please provide the solution I am in the problem at this point.

Example: min: 500; max:5000; current postion: 3500; stoppoint is fixed 2800;

creditmate

kiqq commented 6 years ago

Min/max padding feature has "Not Planned" status: https://github.com/leongersen/noUiSlider/issues/771

I think you can use two handles, set lower one to required limit, disable it and set display:none css style.

kiqq commented 6 years ago

UPDATE: it was implemented in nouislider 11.0.0 Now you can set padding in config as array like this: padding: [ 10, 15 ]