• Overview
@angular/platform-browser

HammerModule

NgModule

Adds support for HammerJS.

API

  
    class HammerModule {}
  
  

Description

Adds support for HammerJS.

Import this module at the root of your application so that Angular can work with HammerJS to detect gesture events.

Note that applications still need to include the HammerJS script itself. This module simply sets up the coordination layer between HammerJS and Angular's EventManager.

Jump to details