EventManager
An injectable service that provides event management for Angular through a browser plug-in.
class EventManager {
constructor(plugins: EventManagerPlugin[], _zone: NgZone)
addEventListener(element: HTMLElement, eventName: string, handler: Function): Function
getZone(): NgZone
}
Constructor
Initializes an instance of the event-manager service. |
||||||
Parameters
|
Methods
getZone() |
---|
Retrieves the compilation zone in which event listeners are registered. |