You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -171,6 +171,7 @@ The default options are:
171
171
draggableRangeOnly:false,
172
172
showSelectionBar:false,
173
173
showSelectionBarEnd:false,
174
+
showSelectionBarFromValue:null,
174
175
hideLimitLabels:false,
175
176
readOnly:false,
176
177
disabled:false,
@@ -235,6 +236,8 @@ $scope.slider = {
235
236
236
237
**showSelectionBarEnd** - _Boolean (defaults to false)_: Set to true to always show the selection bar after the slider handle.
237
238
239
+
**showSelectionBarFromValue** - _Number (defaults to null)_: Set a number to draw the selection bar between this value and the slider handle.
240
+
238
241
**getSelectionBarColor** - _Function(value) or Function(minVal, maxVal) (defaults to null)_: Function that returns the current color of the selection bar. If the returned color depends on a model value (either `rzScopeModel`or `'rzSliderHigh`), you should use the argument passed to the function. Indeed, when the function is called, there is no certainty that the model has already been updated.
239
242
240
243
**hideLimitLabels** - _Boolean (defaults to false)_: Set to true to hide min / max labels
it('should set the correct dimension/position for selection bar for single slider with showSelectionBarFromValue is used with a value on the right',function(){
it('should set the correct dimension/position for selection bar for single slider with showSelectionBarFromValue is used with a value on the left',function(){
0 commit comments