diff --git a/angular.rangeSlider.js b/angular.rangeSlider.js index 7359301..d5a6ce1 100644 --- a/angular.rangeSlider.js +++ b/angular.rangeSlider.js @@ -120,6 +120,7 @@ modelMax: '=?', onHandleDown: '&', // calls optional function when handle is grabbed onHandleUp: '&', // calls optional function when handle is released + onHandleDrag: '&', //calls optional function when handle is dragged orientation: '@', // options: horizontal | vertical | vertical left | vertical right step: '@', decimalPlaces: '@', @@ -527,6 +528,10 @@ // prevent default e.preventDefault(); + if (angular.isFunction(scope.onHandleDrag)) { + scope.onHandleDrag(); + } + var currentClick = client(e), movement, proposal,