jQRangeSlider
jQRangeSlider copied to clipboard
Feature request: Handle labels to not cross slider borders
Hi. So the thing is to implement something like "bounds" property for labels, which will regulate either handle labels positioned above or under handle in min or max position, will go outside this slider left and right border.
For ex, I have a slider with 200px width, and padding of container - 10px each side. If labels will be long, they'll go outside of screen, when max/min value selected. Also if min/max label selected and labels are pushing each other - one of labels(partially) will be also pushed outside of the parent container.
Also, is there a possibility to "refresh" chart? So it would refresh all elements position(labels or handles for ex.)?
For your second question, take a look at this method: https://ghusse.github.io/jQRangeSlider/methods.html#resizeMethod
Thanks, it's really acting as refresh.
As for first one - currently i'm using this, as a short-term solution for this "feature" http://jsfiddle.net/vM844/1230/ But in my case i'm not styling ui-rangeSlider-label, but only it's ui-rangeSlider-label-value