Releases: angular-slider/angularjs-slider
Releases · angular-slider/angularjs-slider
4.0.0
4.0.0 (2016-06-04)
Improvement
stepsArray
: Bind rzSliderModel and rzSliderHigh to the actual value (#335).
Breaking changes
- From now on, when using the
stepsArray
feature, you should directly provide the actual value to rzSliderModel and rzSliderHigh instead of passing the index of this value.
Thus, you need to update your config like in the following example:
/* before 4.0 version */
vm.slider = {
value: 4, // index of the 'E' value in the array
options: {
stepsArray: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.split('')
}
}
/* from 4.0 version */
vm.slider = {
value: 'E',
options: {
stepsArray: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.split('')
}
}
3.0.0
3.0.0 (2016-06-02)
Features
- Add IE8 support (#314).
- Consolidate onStart, onChange and onEnd for keyboard (#319).
- Added
rz-floor
andrz-ceil
classes to floor and ceil label to allow styling (#337).
Breaking changes
- From now on, to allow the IE8 support, the directive is configured with
replace: true
. Thus, you need to update your custom CSS rules like in the following example:
/* before 3.0 version */
rzslider {
color: red;
}
/* from 3.0 version */
.rzslider {
color: red;
}