EventManager
Class
An injectable service that provides event management for Angular through a browser plug-in.
constructor
EventManagerInitializes an instance of the event-manager service.
@returns
EventManageraddEventListener
FunctionRegisters a handler for a specific element and event.
@paramelement
HTMLElementThe HTML element to receive event notifications.
@parameventName
stringThe name of the event to listen for.
@paramhandler
FunctionA function to call when the notification occurs. Receives the event object as an argument.
@returns
FunctionJump to details