@@ -233,11 +233,12 @@ function throttle(func, wait, options) {
233
233
this . disabled = this . scope . rzSliderDisabled ;
234
234
235
235
/**
236
- * Set the speed at which the slider updates
236
+ * The interval at which the slider updates when the model/high values
237
+ * are altered from outside the slider
237
238
*
238
239
* @type {number }
239
240
*/
240
- this . interval = this . scope . rzSliderInterval || 350 ;
241
+ this . interval = this . scope . rzSliderInterval !== null ? this . scope . rzSliderInterval : 350 ;
241
242
242
243
/**
243
244
* The delta between min and max value
@@ -337,7 +338,7 @@ function throttle(func, wait, options) {
337
338
self . updateCmbLabel ( ) ;
338
339
}
339
340
340
- } , self . interval , { leading : false } ) ;
341
+ } , self . interval ) ;
341
342
342
343
thrHigh = throttle ( function ( )
343
344
{
@@ -346,7 +347,7 @@ function throttle(func, wait, options) {
346
347
self . updateSelectionBar ( ) ;
347
348
self . updateTicksScale ( ) ;
348
349
self . updateCmbLabel ( ) ;
349
- } , self . interval , { leading : false } ) ;
350
+ } , self . interval ) ;
350
351
351
352
this . scope . $on ( 'rzSliderForceRender' , function ( )
352
353
{
@@ -1421,7 +1422,7 @@ function throttle(func, wait, options) {
1421
1422
rzSliderShowTicks : '=?' ,
1422
1423
rzSliderShowTicksValue : '=?' ,
1423
1424
rzSliderDisabled : '=?' ,
1424
- rzSliderInterval : '@ ' ,
1425
+ rzSliderInterval : '=? ' ,
1425
1426
} ,
1426
1427
1427
1428
/**
0 commit comments