W3cubDocs

/Angular 10

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://v10.angular.io/api/platform-browser/HammerModule