I\'m new to Angular 2 and am looking for a way to implement a good tab touch swipe navigation for mobile users with a swipe transition to the next tab view.
So far I
First install hammerjs and action touch-action polyfill:
$ npm install hammerjs hammer-timejs
Then add the imports to 'app.module.ts' so they will be used/bundled:
import 'hammerjs';
import 'hammer-timejs';
Now you can handle the events for the actions:
Rotate
Pinch
Press
Pan
Tap
Swipe
For example you can say:
Or:
Reference: https://saschwarz.github.io/angular2-gestures-slides/#/