ng2-nouislider icon indicating copy to clipboard operation
ng2-nouislider copied to clipboard

How to Stop slider

Open ku-santosh opened this issue 7 years ago • 2 comments

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

ku-santosh avatar Dec 21 '17 14:12 ku-santosh

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 avatar Dec 22 '17 02:12 kiqq

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

kiqq avatar Mar 16 '18 10:03 kiqq