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

Angular: Multi finger tap #1281

Closed
pablosproject opened this issue Feb 24, 2022 · 0 comments
Closed

Angular: Multi finger tap #1281

pablosproject opened this issue Feb 24, 2022 · 0 comments

Comments

@pablosproject
Copy link

Hi, I would like to register a multi-finger tap (but also pan and long press). My use case is a kiosk application that is tapped by people with several different finger patterns.

I tried using this:

export class HammerConfig extends HammerGestureConfig {
  override overrides = {
    // I will only use the swap gesture so
    // I will deactivate the others to avoid overlaps
    pinch: { enable: false },
    rotate: { enable: false },
    tap: { pointers: 0, posThreshold: 400, interval: 20 },
    press: { pointers: 0 },
    pan: { pointers: 0 },
  };
}

It works with pan, but not with other gestures, any suggestion on how to catch all events on multi-finger 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

1 participant