angular-gestures
angular-gestures copied to clipboard
Double tap also recognizes two single taps
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
I expected it to work almost exactly how you try, but it does not.. for some reason.
So... are you saying that recognizeWith is not surfaced or usable in any way in angular-gestures?