Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
i20rzslider
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jedife
i20rzslider
Commits
cff95dbc
Commit
cff95dbc
authored
Sep 06, 2016
by
Valentin Hervieu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
5.5.0 release
parent
1070cd2a
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
26 additions
and
19 deletions
+26
-19
CHANGELOG.md
CHANGELOG.md
+4
-0
README.md
README.md
+3
-0
bower.json
bower.json
+1
-1
rzslider.css
dist/rzslider.css
+1
-1
rzslider.js
dist/rzslider.js
+7
-7
rzslider.min.css
dist/rzslider.min.css
+1
-1
rzslider.min.js
dist/rzslider.min.js
+2
-2
package.json
package.json
+1
-1
rzslider.js
src/rzslider.js
+6
-6
No files found.
CHANGELOG.md
View file @
cff95dbc
# 5.5.0 (2016-09-06)
## Features
-
Add an autoHideLimitLabels to disable the auto-hiding of limit labels (#405).
# 5.4.3 (2016-08-07)
## Fix
-
Fix minLimit/maxLimit bugged for draggableRange (#384).
...
...
README.md
View file @
cff95dbc
...
...
@@ -214,6 +214,7 @@ The default options are:
showSelectionBarFromValue
:
null
,
hidePointerLabels
:
false
,
hideLimitLabels
:
false
,
autoHideLimitLabels
:
true
,
readOnly
:
false
,
disabled
:
false
,
interval
:
350
,
...
...
@@ -327,6 +328,8 @@ Just pass an array with each slider value and that's it; the floor, ceil and ste
**hideLimitLabels** - _Boolean (defaults to false)_: Set to true to hide min / max labels
**autoHideLimitLabels** - _Boolean (defaults to true)_: Set to false to disable the auto-hiding behavior of the limit labels.
**readOnly** - _Boolean (defaults to false)_: Set to true to make the slider read-only.
**disabled** - _Boolean (defaults to false)_: Set to true to disable the slider.
...
...
bower.json
View file @
cff95dbc
{
"name"
:
"angularjs-slider"
,
"version"
:
"5.
4.3
"
,
"version"
:
"5.
5.0
"
,
"homepage"
:
"https://github.com/angular-slider/angularjs-slider"
,
"authors"
:
[
"Rafal Zajac <rzajac@gmail.com>"
,
...
...
dist/rzslider.css
View file @
cff95dbc
/*! angularjs-slider - v5.
4.3
-
/*! angularjs-slider - v5.
5.0
-
(c) Rafal Zajac <rzajac@gmail.com>, Valentin Hervieu <valentin@hervieu.me>, Jussi Saarivirta <jusasi@gmail.com>, Angelin Sirbu <angelin.sirbu@gmail.com> -
https://github.com/angular-slider/angularjs-slider -
2016-09-06 */
...
...
dist/rzslider.js
View file @
cff95dbc
/*! angularjs-slider - v5.
4.3
-
/*! angularjs-slider - v5.
5.0
-
(c) Rafal Zajac <rzajac@gmail.com>, Valentin Hervieu <valentin@hervieu.me>, Jussi Saarivirta <jusasi@gmail.com>, Angelin Sirbu <angelin.sirbu@gmail.com> -
https://github.com/angular-slider/angularjs-slider -
2016-09-06 */
...
...
@@ -48,6 +48,7 @@
showSelectionBarFromValue
:
null
,
hidePointerLabels
:
false
,
hideLimitLabels
:
false
,
autoHideLimitLabels
:
true
,
readOnly
:
false
,
disabled
:
false
,
interval
:
350
,
...
...
@@ -71,8 +72,7 @@
rightToLeft
:
false
,
boundPointerLabels
:
true
,
mergeRangeLabelsIfSame
:
false
,
customTemplateScope
:
null
,
autoHideLabels
:
true
customTemplateScope
:
null
};
var
globalOptions
=
{};
...
...
@@ -315,7 +315,7 @@
this
.
maxLab
=
null
;
// Label above the high value
this
.
cmbLab
=
null
;
// Combined label
this
.
ticks
=
null
;
// The ticks
// Initialize slider
this
.
init
();
};
...
...
@@ -1070,7 +1070,7 @@
};
}
if
(
this
.
options
.
autoHideLabels
){
if
(
this
.
options
.
autoHideL
imitL
abels
){
this
.
shFloorCeil
();
}
},
...
...
@@ -1092,10 +1092,10 @@
backgroundColor
:
pointercolor
};
}
if
(
this
.
options
.
autoHideLabels
){
if
(
this
.
options
.
autoHideL
imitL
abels
){
this
.
shFloorCeil
();
}
},
/**
...
...
dist/rzslider.min.css
View file @
cff95dbc
/*! angularjs-slider - v5.
4.3
- (c) Rafal Zajac <rzajac@gmail.com>, Valentin Hervieu <valentin@hervieu.me>, Jussi Saarivirta <jusasi@gmail.com>, Angelin Sirbu <angelin.sirbu@gmail.com> - https://github.com/angular-slider/angularjs-slider - 2016-09-06 */
/*! angularjs-slider - v5.
5.0
- (c) Rafal Zajac <rzajac@gmail.com>, Valentin Hervieu <valentin@hervieu.me>, Jussi Saarivirta <jusasi@gmail.com>, Angelin Sirbu <angelin.sirbu@gmail.com> - https://github.com/angular-slider/angularjs-slider - 2016-09-06 */
.rzslider
{
position
:
relative
;
display
:
inline-block
;
width
:
100%
;
height
:
4px
;
margin
:
35px
0
15px
0
;
vertical-align
:
middle
;
-webkit-user-select
:
none
;
-moz-user-select
:
none
;
-ms-user-select
:
none
;
user-select
:
none
}
.rzslider.with-legend
{
margin-bottom
:
40px
}
.rzslider
[
disabled
]
{
cursor
:
not-allowed
}
.rzslider
[
disabled
]
.rz-pointer
{
cursor
:
not-allowed
;
background-color
:
#d8e0f3
}
.rzslider
span
{
position
:
absolute
;
display
:
inline-block
;
white-space
:
nowrap
}
.rzslider
.rz-base
{
width
:
100%
;
height
:
100%
;
padding
:
0
}
.rzslider
.rz-bar-wrapper
{
left
:
0
;
z-index
:
1
;
width
:
100%
;
height
:
32px
;
padding-top
:
16px
;
margin-top
:
-16px
;
box-sizing
:
border-box
}
.rzslider
.rz-bar-wrapper.rz-draggable
{
cursor
:
move
}
.rzslider
.rz-bar
{
left
:
0
;
z-index
:
1
;
width
:
100%
;
height
:
4px
;
background
:
#d8e0f3
;
-webkit-border-radius
:
2px
;
-moz-border-radius
:
2px
;
border-radius
:
2px
}
.rzslider
.rz-bar.rz-selection
{
z-index
:
2
;
background
:
#0db9f0
;
-webkit-border-radius
:
2px
;
-moz-border-radius
:
2px
;
border-radius
:
2px
}
.rzslider
.rz-pointer
{
top
:
-14px
;
z-index
:
3
;
width
:
32px
;
height
:
32px
;
cursor
:
pointer
;
background-color
:
#0db9f0
;
-webkit-border-radius
:
16px
;
-moz-border-radius
:
16px
;
border-radius
:
16px
}
.rzslider
.rz-pointer
:after
{
position
:
absolute
;
top
:
12px
;
left
:
12px
;
width
:
8px
;
height
:
8px
;
background
:
#fff
;
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
;
content
:
''
}
.rzslider
.rz-pointer
:hover:after
{
background-color
:
#fff
}
.rzslider
.rz-pointer.rz-active
{
z-index
:
4
}
.rzslider
.rz-pointer.rz-active
:after
{
background-color
:
#451aff
}
.rzslider
.rz-bubble
{
bottom
:
16px
;
padding
:
1px
3px
;
color
:
#55637d
;
cursor
:
default
}
.rzslider
.rz-bubble.rz-selection
{
top
:
16px
}
.rzslider
.rz-bubble.rz-limit
{
color
:
#55637d
}
.rzslider
.rz-ticks
{
position
:
absolute
;
top
:
-3px
;
left
:
0
;
z-index
:
1
;
display
:
-webkit-flex
;
display
:
-ms-flexbox
;
display
:
flex
;
width
:
100%
;
height
:
0
;
padding
:
0
11px
;
margin
:
0
;
list-style
:
none
;
box-sizing
:
border-box
;
-webkit-justify-content
:
space-between
;
-ms-flex-pack
:
justify
;
justify-content
:
space-between
}
.rzslider
.rz-ticks
.rz-tick
{
width
:
10px
;
height
:
10px
;
text-align
:
center
;
cursor
:
pointer
;
background
:
#d8e0f3
;
border-radius
:
50%
}
.rzslider
.rz-ticks
.rz-tick.rz-selected
{
background
:
#0db9f0
}
.rzslider
.rz-ticks
.rz-tick
.rz-tick-value
{
position
:
absolute
;
top
:
-30px
;
transform
:
translate
(
-50%
,
0
)}
.rzslider
.rz-ticks
.rz-tick
.rz-tick-legend
{
position
:
absolute
;
top
:
24px
;
max-width
:
50px
;
white-space
:
normal
;
transform
:
translate
(
-50%
,
0
)}
.rzslider
.rz-ticks.rz-ticks-values-under
.rz-tick-value
{
top
:
initial
;
bottom
:
-40px
}
.rzslider.rz-vertical
{
position
:
relative
;
width
:
4px
;
height
:
100%
;
padding
:
0
;
margin
:
0
20px
;
vertical-align
:
baseline
}
.rzslider.rz-vertical
.rz-base
{
width
:
100%
;
height
:
100%
;
padding
:
0
}
.rzslider.rz-vertical
.rz-bar-wrapper
{
top
:
auto
;
left
:
0
;
width
:
32px
;
height
:
100%
;
padding
:
0
0
0
16px
;
margin
:
0
0
0
-16px
}
.rzslider.rz-vertical
.rz-bar
{
bottom
:
0
;
left
:
auto
;
width
:
4px
;
height
:
100%
}
.rzslider.rz-vertical
.rz-pointer
{
top
:
auto
;
bottom
:
0
;
left
:
-14px
!important
}
.rzslider.rz-vertical
.rz-bubble
{
bottom
:
0
;
left
:
16px
!important
;
margin-left
:
3px
}
.rzslider.rz-vertical
.rz-bubble.rz-selection
{
top
:
auto
;
left
:
16px
!important
}
.rzslider.rz-vertical
.rz-ticks
{
top
:
0
;
left
:
-3px
;
z-index
:
1
;
width
:
0
;
height
:
100%
;
padding
:
11px
0
;
-webkit-flex-direction
:
column-reverse
;
-ms-flex-direction
:
column-reverse
;
flex-direction
:
column-reverse
}
.rzslider.rz-vertical
.rz-ticks
.rz-tick
{
vertical-align
:
middle
}
.rzslider.rz-vertical
.rz-ticks
.rz-tick
.rz-tick-value
{
top
:
initial
;
left
:
22px
;
transform
:
translate
(
0
,
-28%
)}
.rzslider.rz-vertical
.rz-ticks
.rz-tick
.rz-tick-legend
{
top
:
initial
;
right
:
24px
;
max-width
:
none
;
white-space
:
nowrap
;
transform
:
translate
(
0
,
-28%
)}
.rzslider.rz-vertical
.rz-ticks.rz-ticks-values-under
.rz-tick-value
{
right
:
12px
;
bottom
:
initial
;
left
:
initial
}
\ No newline at end of file
dist/rzslider.min.js
View file @
cff95dbc
This diff is collapsed.
Click to expand it.
package.json
View file @
cff95dbc
{
"name"
:
"angularjs-slider"
,
"version"
:
"5.
4.3
"
,
"version"
:
"5.
5.0
"
,
"description"
:
"AngularJS slider directive with no external dependencies. Mobile friendly!."
,
"main"
:
"dist/rzslider.js"
,
"repository"
:
{
...
...
src/rzslider.js
View file @
cff95dbc
...
...
@@ -52,6 +52,7 @@
showSelectionBarFromValue
:
null
,
hidePointerLabels
:
false
,
hideLimitLabels
:
false
,
autoHideLimitLabels
:
true
,
readOnly
:
false
,
disabled
:
false
,
interval
:
350
,
...
...
@@ -75,8 +76,7 @@
rightToLeft
:
false
,
boundPointerLabels
:
true
,
mergeRangeLabelsIfSame
:
false
,
customTemplateScope
:
null
,
autoHideLabels
:
true
customTemplateScope
:
null
};
var
globalOptions
=
{};
...
...
@@ -319,7 +319,7 @@
this
.
maxLab
=
null
;
// Label above the high value
this
.
cmbLab
=
null
;
// Combined label
this
.
ticks
=
null
;
// The ticks
// Initialize slider
this
.
init
();
};
...
...
@@ -1074,7 +1074,7 @@
};
}
if
(
this
.
options
.
autoHideLabels
){
if
(
this
.
options
.
autoHideL
imitL
abels
){
this
.
shFloorCeil
();
}
},
...
...
@@ -1096,10 +1096,10 @@
backgroundColor
:
pointercolor
};
}
if
(
this
.
options
.
autoHideLabels
){
if
(
this
.
options
.
autoHideL
imitL
abels
){
this
.
shFloorCeil
();
}
},
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment