angular-hammer icon indicating copy to clipboard operation
angular-hammer copied to clipboard

"Combining" Directives

Open swinston1000 opened this issue 9 years ago • 0 comments

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

swinston1000 avatar Dec 01 '16 16:12 swinston1000