linkEventManager
npm Package | @angular/platform-browser |
---|---|
Module | import { EventManager } from '@angular/platform-browser'; |
Source | platform-browser/src/dom/events/event_manager.ts |
linkOverview
class EventManager {
constructor(plugins: EventManagerPlugin[], _zone: NgZone)
addEventListener(element: HTMLElement, eventName: string, handler: Function): Function
addGlobalEventListener(target: string, eventName: string, handler: Function): Function
getZone(): NgZone
}
linkConstructor
constructor(plugins: EventManagerPlugin[], _zone: NgZone)
linkMembers
getZone(): NgZone
linkAnnotations
@Injectable()