EventManager
Class
An injectable service that provides event management for Angular through a browser plug-in.
API
class EventManager {}
addEventListener
Function
Registers a handler for a specific element and event.
@paramelement
HTMLElement
The HTML element to receive event notifications.
@parameventName
string
The name of the event to listen for.
@paramhandler
Function
A function to call when the notification occurs. Receives the event object as an argument.
@returns
Function
Jump to details