How to handle range slider drag events?



I’m using a range slider:, and I want to handle slider drag events. When testing in the browser (either Chrome or Safari), I figured I can use ng-mousedown and ng-mouseup directives, but they won’t work on mobile.

I then tested native HTML5 ondrag events and it did work, but Angular don’t handle them natively. Are there easier solutions to get slider drag events than to do some custom directives, or something of the kind?



you can add ngChange to get notified when ever the connected ngModel changes