Skip to content

Commit f66b750

Browse files
committed
updating dist
1 parent fc9b521 commit f66b750

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

dist/rzslider.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,13 @@ function throttle(func, wait, options) {
232232
*/
233233
this.disabled = this.scope.rzSliderDisabled;
234234

235+
/**
236+
* Set the speed at which the slider updates
237+
*
238+
* @type {number}
239+
*/
240+
this.interval = this.scope.rzSliderInterval || 350;
241+
235242
/**
236243
* The delta between min and max value
237244
*
@@ -330,7 +337,7 @@ function throttle(func, wait, options) {
330337
self.updateCmbLabel();
331338
}
332339

333-
}, 350, { leading: false });
340+
}, self.interval, { leading: false });
334341

335342
thrHigh = throttle(function()
336343
{
@@ -339,7 +346,7 @@ function throttle(func, wait, options) {
339346
self.updateSelectionBar();
340347
self.updateTicksScale();
341348
self.updateCmbLabel();
342-
}, 350, { leading: false });
349+
}, self.interval, { leading: false });
343350

344351
this.scope.$on('rzSliderForceRender', function()
345352
{
@@ -1414,6 +1421,7 @@ function throttle(func, wait, options) {
14141421
rzSliderShowTicks: '=?',
14151422
rzSliderShowTicksValue: '=?',
14161423
rzSliderDisabled: '=?',
1424+
rzSliderInterval: '@',
14171425
},
14181426

14191427
/**

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.

0 commit comments

Comments
 (0)