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

Double tap also recognizes two single taps

Open ShagunV opened this issue 9 years ago • 2 comments

Hi,

Thanks for the lib. I was trying to use recognizeWith and requireFailure functionality of hammer in this lib but it doesnt seem to have a way. Please guide if we have any particular way to use these two functionality in recognizers. I am using recognizers in this way:

app.config(function (hammerDefaultOptsProvider) { hammerDefaultOptsProvider.set({ recognizers: [ [Hammer.Tap], [Hammer.Tap, { event: 'doubletap', taps: 2 }, ['tap']], [Hammer.Press], [Hammer.Swipe] ] }); });

Need to know how to add recognizeWith and requireFailure functionality in the same.

Thanks

ShagunV avatar Mar 31 '15 12:03 ShagunV

I expected it to work almost exactly how you try, but it does not.. for some reason.

wzr1337 avatar Apr 03 '15 19:04 wzr1337

So... are you saying that recognizeWith is not surfaced or usable in any way in angular-gestures?

Shizen avatar Apr 20 '15 19:04 Shizen