@@ -20,6 +20,7 @@ Slider directive implementation for AngularJS, without any dependencies: [http:/
...
@@ -20,6 +20,7 @@ Slider directive implementation for AngularJS, without any dependencies: [http:/
- Simple to use
- Simple to use
- Keyboard support
- Keyboard support
- Compatibility with jQuery Lite, ie. with full jQuery ( Thanks Jusas! https://github.com/Jusas)
- Compatibility with jQuery Lite, ie. with full jQuery ( Thanks Jusas! https://github.com/Jusas)
- Supports right to left
**Horizontal**
**Horizontal**
...
@@ -202,7 +203,8 @@ The default options are:
...
@@ -202,7 +203,8 @@ The default options are:
onlyBindHandles:false,
onlyBindHandles:false,
onStart:null,
onStart:null,
onChange:null,
onChange:null,
onEnd:null
onEnd:null,
rightToLeft:false
}
}
````
````
...
@@ -295,6 +297,8 @@ $scope.slider = {
...
@@ -295,6 +297,8 @@ $scope.slider = {
**onEnd** - _Function(sliderId, modelValue, highValue)_: Function to be called when a slider update is ended. If an id was set in the options, then it's passed to this callback.
**onEnd** - _Function(sliderId, modelValue, highValue)_: Function to be called when a slider update is ended. If an id was set in the options, then it's passed to this callback.
**rightToLeft** - _Boolean (defaults to false)_: Set to true to show graphs right to left. If **vertical** is true it reverses the left / right arrow functions
**vertical** - _Boolean (defaults to false)_: Set to true to display the slider vertically. The slider will take the full height of its parent.
**vertical** - _Boolean (defaults to false)_: Set to true to display the slider vertically. The slider will take the full height of its parent.
_Changing this value at runtime is not currently supported._
_Changing this value at runtime is not currently supported._
it('should set the correct dimension/position for selection bar for single slider with showSelectionBarFromValue is used with a value on the left',function(){
it('should set the correct dimension/position for selection bar for single slider with showSelectionBarFromValue is used with a value on the right',function(){