Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double tap also recognizes two single taps #39

Open
ShagunV opened this issue Mar 31, 2015 · 2 comments
Open

Double tap also recognizes two single taps #39

ShagunV opened this issue Mar 31, 2015 · 2 comments

Comments

@ShagunV
Copy link

ShagunV commented Mar 31, 2015

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

@wzr1337
Copy link
Owner

wzr1337 commented Apr 3, 2015

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

@Shizen
Copy link

Shizen commented Apr 20, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants