Venturocket / angular-slider

Slider directive for AngularJS.
MIT License
262 stars 121 forks source link

Implementing the onDrag attribute #45

Closed WydD closed 10 years ago

WydD commented 10 years ago

This attribute will be called whenever the drag ends. It is useful if you want your application to only trigger a change (say an API call) when the user releases his mouse.

I added a test as well as a demo in example.html.

drgould commented 10 years ago

"onDrag" is a little misleading. I'm currently in the process of completely rewriting the slider and will be implementing onStart and onEnd. Any others I should add in?

WydD commented 10 years ago

Ok great :) onStart/onEnd is good as well. Nothing more to add. Thanks !