Touch events

This is the documentation for Angular 6.
You can switch to the latest version Angular 7.

Angular supports Hammer.JS gestures.

You only need to install Hammer.JS:

npm install hammerjs

And then import to main.ts file:

import 'hammerjs';

After that you will be able to bind gesture events.

Source
<div (swipe)="swipeHandler()">
  Swipe me!
</div>
export class AppComponent {
  swipeHandler() {
    alert('Swipe handled!');
  }
}
Result
Swipe me!
Tutorials