Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
I
i20rzslider
Project
Project
Details
Activity
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
76a263f7
Commit
76a263f7
authored
May 25, 2015
by
Paul Salaberria
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Default template in cache instead of a separate file.
parent
ddb5b3df
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
9 deletions
+13
-9
rzSliderTpl.html
rzSliderTpl.html
+0
-9
rzslider.js
rzslider.js
+13
-0
No files found.
rzSliderTpl.html
deleted
100644 → 0
View file @
ddb5b3df
<span
class=
"rz-bar"
></span>
<!-- 0 The slider bar -->
<span
class=
"rz-bar rz-selection"
></span>
<!-- 1 Highlight between two handles -->
<span
class=
"rz-pointer"
></span>
<!-- 2 Left slider handle -->
<span
class=
"rz-pointer"
></span>
<!-- 3 Right slider handle -->
<span
class=
"rz-bubble rz-limit"
></span>
<!-- 4 Floor label -->
<span
class=
"rz-bubble rz-limit"
></span>
<!-- 5 Ceiling label -->
<span
class=
"rz-bubble"
></span>
<!-- 6 Label above left slider handle -->
<span
class=
"rz-bubble"
></span>
<!-- 7 Label above right slider handle -->
<span
class=
"rz-bubble"
></span>
rzslider.js
View file @
76a263f7
...
@@ -13,6 +13,19 @@
...
@@ -13,6 +13,19 @@
angular
.
module
(
'rzModule'
,
[])
angular
.
module
(
'rzModule'
,
[])
.
run
(
function
(
$templateCache
)
{
var
template
=
'<span class="rz-bar"></span>'
+
// 0 The slider bar
'<span class="rz-bar rz-selection"></span>'
+
// 1 Highlight between two handles
'<span class="rz-pointer"></span>'
+
// 2 Left slider handle
'<span class="rz-pointer"></span>'
+
// 3 Right slider handle
'<span class="rz-bubble rz-limit"></span>'
+
// 4 Floor label
'<span class="rz-bubble rz-limit"></span>'
+
// 5 Ceiling label
'<span class="rz-bubble"></span>'
+
// 6 Label above left slider handle
'<span class="rz-bubble"></span>'
+
// 7 Label above right slider handle
'<span class="rz-bubble"></span>'
;
// 8 Range label when the slider handles are close ex. 15 - 17
$templateCache
.
put
(
'rzSliderTpl.html'
,
template
);
})
.
value
(
'throttle'
,
.
value
(
'throttle'
,
/**
/**
* throttle
* throttle
...
...
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