angular / 5 / api / platform-browser / eventmanager.html

EventManager

class

Overview

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
}

Constructor

constructor(plugins: EventManagerPlugin[], _zone: NgZone)

Members

addEventListener(element: HTMLElement, eventName: string, handler: Function): Function

addGlobalEventListener(target: string, eventName: string, handler: Function): Function

getZone(): NgZone

Annotations

@Injectable()

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