RyanMullins / angular-hammer

Hammer.js v2 support for AngularJS
http://ryanmullins.github.io/angular-hammer/
MIT License
188 stars 55 forks source link

"Combining" Directives #79

Open swinston1000 opened 7 years ago

swinston1000 commented 7 years ago

Sorry, this is less of an issue and more of a thank you and general inquiry. So firstly, thanks - great work!

I have an element that I want hmPressup on and ngDblclick to both call the same function on my controller. Is there an easy way to do this so I can avoid code duplication?

Thanks!!

Steven