rlouie
March 26, 2016, 5:40am
7
What a coincidence…I just posted a tutorial on this! I directly cover a “hold” gesture (now referred to as press), but detecting multiple taps is possible with only slight alteration.
Here’s a direct link to the tutorial: roblouie | Using Gestures Hold, Double Tap, and more in the Ionic 2 Beta
Here’s the other forum post:
So, this took a little digging through the Ionic 2 source to figure this out, and I noticed some other forum posts asking about gestures with either no answers or vague ones. Here’s how to react to any sort of gesture in Ionic 2: roblouie.com/using-gestures-in-the-ionic-2-beta
It’s possible that as Ionic 2 gets farther along this tutorial will no longer be necessary because there will be better official support, but for now this works well!
4 Likes