@@ -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 /**
0 commit comments