Unable to catch vertical swipe/drag events


No your import seems good, I have exactly the same in my code currently and no problem. Maybe you should check your ionic version.
Edit: I don’t see it first but you don’t need the “@” at the beginning of the path:
import {Gesture} from ‘ionic-angular/gestures/gesture’;

For a working example of this directive you can check this thread: Gestures Swype Up and Swype Down how to enable?
You’ll find a plunker, currently plnkr.co is down but I guess he will be back soon.

1 Like