Skip to content

Commit cff95db

Browse files
committed
5.5.0 release
1 parent 1070cd2 commit cff95db

9 files changed

+26
-19
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 5.5.0 (2016-09-06)
2+
## Features
3+
- Add an autoHideLimitLabels to disable the auto-hiding of limit labels (#405).
4+
15
# 5.4.3 (2016-08-07)
26
## Fix
37
- Fix minLimit/maxLimit bugged for draggableRange (#384).

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ The default options are:
214214
showSelectionBarFromValue: null,
215215
hidePointerLabels: false,
216216
hideLimitLabels: false,
217+
autoHideLimitLabels: true,
217218
readOnly: false,
218219
disabled: false,
219220
interval: 350,
@@ -327,6 +328,8 @@ Just pass an array with each slider value and that's it; the floor, ceil and ste
327328
328329
**hideLimitLabels** - _Boolean (defaults to false)_: Set to true to hide min / max labels
329330
331+
**autoHideLimitLabels** - _Boolean (defaults to true)_: Set to false to disable the auto-hiding behavior of the limit labels.
332+
330333
**readOnly** - _Boolean (defaults to false)_: Set to true to make the slider read-only.
331334
332335
**disabled** - _Boolean (defaults to false)_: Set to true to disable the slider.

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angularjs-slider",
3-
"version": "5.4.3",
3+
"version": "5.5.0",
44
"homepage": "https://github.com/angular-slider/angularjs-slider",
55
"authors": [
66
"Rafal Zajac <[email protected]>",

dist/rzslider.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! angularjs-slider - v5.4.3 -
1+
/*! angularjs-slider - v5.5.0 -
22
(c) Rafal Zajac <[email protected]>, Valentin Hervieu <[email protected]>, Jussi Saarivirta <[email protected]>, Angelin Sirbu <[email protected]> -
33
https://github.com/angular-slider/angularjs-slider -
44
2016-09-06 */

dist/rzslider.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! angularjs-slider - v5.4.3 -
1+
/*! angularjs-slider - v5.5.0 -
22
(c) Rafal Zajac <[email protected]>, Valentin Hervieu <[email protected]>, Jussi Saarivirta <[email protected]>, Angelin Sirbu <[email protected]> -
33
https://github.com/angular-slider/angularjs-slider -
44
2016-09-06 */
@@ -48,6 +48,7 @@
4848
showSelectionBarFromValue: null,
4949
hidePointerLabels: false,
5050
hideLimitLabels: false,
51+
autoHideLimitLabels: true,
5152
readOnly: false,
5253
disabled: false,
5354
interval: 350,
@@ -71,8 +72,7 @@
7172
rightToLeft: false,
7273
boundPointerLabels: true,
7374
mergeRangeLabelsIfSame: false,
74-
customTemplateScope: null,
75-
autoHideLabels: true
75+
customTemplateScope: null
7676
};
7777
var globalOptions = {};
7878

@@ -315,7 +315,7 @@
315315
this.maxLab = null; // Label above the high value
316316
this.cmbLab = null; // Combined label
317317
this.ticks = null; // The ticks
318-
318+
319319
// Initialize slider
320320
this.init();
321321
};
@@ -1070,7 +1070,7 @@
10701070
};
10711071
}
10721072

1073-
if(this.options.autoHideLabels){
1073+
if(this.options.autoHideLimitLabels){
10741074
this.shFloorCeil();
10751075
}
10761076
},
@@ -1092,10 +1092,10 @@
10921092
backgroundColor: pointercolor
10931093
};
10941094
}
1095-
if(this.options.autoHideLabels){
1095+
if(this.options.autoHideLimitLabels){
10961096
this.shFloorCeil();
10971097
}
1098-
1098+
10991099
},
11001100

11011101
/**

dist/rzslider.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/rzslider.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angularjs-slider",
3-
"version": "5.4.3",
3+
"version": "5.5.0",
44
"description": "AngularJS slider directive with no external dependencies. Mobile friendly!.",
55
"main": "dist/rzslider.js",
66
"repository": {

src/rzslider.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
showSelectionBarFromValue: null,
5353
hidePointerLabels: false,
5454
hideLimitLabels: false,
55+
autoHideLimitLabels: true,
5556
readOnly: false,
5657
disabled: false,
5758
interval: 350,
@@ -75,8 +76,7 @@
7576
rightToLeft: false,
7677
boundPointerLabels: true,
7778
mergeRangeLabelsIfSame: false,
78-
customTemplateScope: null,
79-
autoHideLabels: true
79+
customTemplateScope: null
8080
};
8181
var globalOptions = {};
8282

@@ -319,7 +319,7 @@
319319
this.maxLab = null; // Label above the high value
320320
this.cmbLab = null; // Combined label
321321
this.ticks = null; // The ticks
322-
322+
323323
// Initialize slider
324324
this.init();
325325
};
@@ -1074,7 +1074,7 @@
10741074
};
10751075
}
10761076

1077-
if(this.options.autoHideLabels){
1077+
if(this.options.autoHideLimitLabels){
10781078
this.shFloorCeil();
10791079
}
10801080
},
@@ -1096,10 +1096,10 @@
10961096
backgroundColor: pointercolor
10971097
};
10981098
}
1099-
if(this.options.autoHideLabels){
1099+
if(this.options.autoHideLimitLabels){
11001100
this.shFloorCeil();
11011101
}
1102-
1102+
11031103
},
11041104

11051105
/**

0 commit comments

Comments
 (0)