Skip to content

Double tap also recognizes two single taps #39

@ShagunV

Description

@ShagunV

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions