HammerModule

From Get docs
< @angular/platform-browserAngular/docs/9/api/platform-browser/hammermodule


HammerModule

ngmodule

Adds support for HammerJS.

See more...

class HammerModule {
}

Description

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.

Providers

Provider
HAMMER_PROVIDERS__PRE_R3__


© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v9.angular.io/api/platform-browser/HammerModule