@@ -232,6 +232,13 @@ function throttle(func, wait, options) {
232
232
*/
233
233
this . disabled = this . scope . rzSliderDisabled ;
234
234
235
+ /**
236
+ * Set the speed at which the slider updates
237
+ *
238
+ * @type {number }
239
+ */
240
+ this . interval = this . scope . rzSliderInterval || 350 ;
241
+
235
242
/**
236
243
* The delta between min and max value
237
244
*
@@ -330,7 +337,7 @@ function throttle(func, wait, options) {
330
337
self . updateCmbLabel ( ) ;
331
338
}
332
339
333
- } , 350 , { leading : false } ) ;
340
+ } , self . interval , { leading : false } ) ;
334
341
335
342
thrHigh = throttle ( function ( )
336
343
{
@@ -339,7 +346,7 @@ function throttle(func, wait, options) {
339
346
self . updateSelectionBar ( ) ;
340
347
self . updateTicksScale ( ) ;
341
348
self . updateCmbLabel ( ) ;
342
- } , 350 , { leading : false } ) ;
349
+ } , self . interval , { leading : false } ) ;
343
350
344
351
this . scope . $on ( 'rzSliderForceRender' , function ( )
345
352
{
@@ -1414,6 +1421,7 @@ function throttle(func, wait, options) {
1414
1421
rzSliderShowTicks : '=?' ,
1415
1422
rzSliderShowTicksValue : '=?' ,
1416
1423
rzSliderDisabled : '=?' ,
1424
+ rzSliderInterval : '@' ,
1417
1425
} ,
1418
1426
1419
1427
/**
0 commit comments