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
e1ce1418
Commit
e1ce1418
authored
Oct 15, 2015
by
eli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated interval to get int from attribute, account for null vals
parent
f66b750a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
11 deletions
+13
-11
rzslider.js
dist/rzslider.js
+6
-5
rzslider.min.js
dist/rzslider.min.js
+1
-1
rzslider.js
src/rzslider.js
+6
-5
No files found.
dist/rzslider.js
View file @
e1ce1418
...
@@ -233,11 +233,12 @@ function throttle(func, wait, options) {
...
@@ -233,11 +233,12 @@ function throttle(func, wait, options) {
this
.
disabled
=
this
.
scope
.
rzSliderDisabled
;
this
.
disabled
=
this
.
scope
.
rzSliderDisabled
;
/**
/**
* Set the speed at which the slider updates
* The interval at which the slider updates when the model/high values
* are altered from outside the slider
*
*
* @type {number}
* @type {number}
*/
*/
this
.
interval
=
this
.
scope
.
rzSliderInterval
||
350
;
this
.
interval
=
this
.
scope
.
rzSliderInterval
!==
null
?
this
.
scope
.
rzSliderInterval
:
350
;
/**
/**
* The delta between min and max value
* The delta between min and max value
...
@@ -337,7 +338,7 @@ function throttle(func, wait, options) {
...
@@ -337,7 +338,7 @@ function throttle(func, wait, options) {
self
.
updateCmbLabel
();
self
.
updateCmbLabel
();
}
}
},
self
.
interval
,
{
leading
:
false
}
);
},
self
.
interval
);
thrHigh
=
throttle
(
function
()
thrHigh
=
throttle
(
function
()
{
{
...
@@ -346,7 +347,7 @@ function throttle(func, wait, options) {
...
@@ -346,7 +347,7 @@ function throttle(func, wait, options) {
self
.
updateSelectionBar
();
self
.
updateSelectionBar
();
self
.
updateTicksScale
();
self
.
updateTicksScale
();
self
.
updateCmbLabel
();
self
.
updateCmbLabel
();
},
self
.
interval
,
{
leading
:
false
}
);
},
self
.
interval
);
this
.
scope
.
$on
(
'rzSliderForceRender'
,
function
()
this
.
scope
.
$on
(
'rzSliderForceRender'
,
function
()
{
{
...
@@ -1421,7 +1422,7 @@ function throttle(func, wait, options) {
...
@@ -1421,7 +1422,7 @@ function throttle(func, wait, options) {
rzSliderShowTicks
:
'=?'
,
rzSliderShowTicks
:
'=?'
,
rzSliderShowTicksValue
:
'=?'
,
rzSliderShowTicksValue
:
'=?'
,
rzSliderDisabled
:
'=?'
,
rzSliderDisabled
:
'=?'
,
rzSliderInterval
:
'
@
'
,
rzSliderInterval
:
'
=?
'
,
},
},
/**
/**
...
...
dist/rzslider.min.js
View file @
e1ce1418
This diff is collapsed.
Click to expand it.
src/rzslider.js
View file @
e1ce1418
...
@@ -233,11 +233,12 @@ function throttle(func, wait, options) {
...
@@ -233,11 +233,12 @@ function throttle(func, wait, options) {
this
.
disabled
=
this
.
scope
.
rzSliderDisabled
;
this
.
disabled
=
this
.
scope
.
rzSliderDisabled
;
/**
/**
* Set the speed at which the slider updates
* The interval at which the slider updates when the model/high values
* are altered from outside the slider
*
*
* @type {number}
* @type {number}
*/
*/
this
.
interval
=
this
.
scope
.
rzSliderInterval
||
350
;
this
.
interval
=
this
.
scope
.
rzSliderInterval
!==
null
?
this
.
scope
.
rzSliderInterval
:
350
;
/**
/**
* The delta between min and max value
* The delta between min and max value
...
@@ -337,7 +338,7 @@ function throttle(func, wait, options) {
...
@@ -337,7 +338,7 @@ function throttle(func, wait, options) {
self
.
updateCmbLabel
();
self
.
updateCmbLabel
();
}
}
},
self
.
interval
,
{
leading
:
false
}
);
},
self
.
interval
);
thrHigh
=
throttle
(
function
()
thrHigh
=
throttle
(
function
()
{
{
...
@@ -346,7 +347,7 @@ function throttle(func, wait, options) {
...
@@ -346,7 +347,7 @@ function throttle(func, wait, options) {
self
.
updateSelectionBar
();
self
.
updateSelectionBar
();
self
.
updateTicksScale
();
self
.
updateTicksScale
();
self
.
updateCmbLabel
();
self
.
updateCmbLabel
();
},
self
.
interval
,
{
leading
:
false
}
);
},
self
.
interval
);
this
.
scope
.
$on
(
'rzSliderForceRender'
,
function
()
this
.
scope
.
$on
(
'rzSliderForceRender'
,
function
()
{
{
...
@@ -1421,7 +1422,7 @@ function throttle(func, wait, options) {
...
@@ -1421,7 +1422,7 @@ function throttle(func, wait, options) {
rzSliderShowTicks
:
'=?'
,
rzSliderShowTicks
:
'=?'
,
rzSliderShowTicksValue
:
'=?'
,
rzSliderShowTicksValue
:
'=?'
,
rzSliderDisabled
:
'=?'
,
rzSliderDisabled
:
'=?'
,
rzSliderInterval
:
'
@
'
,
rzSliderInterval
:
'
=?
'
,
},
},
/**
/**
...
...
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