• Overview
@angular/platform-browser

EventManagerPlugin

Class

The plugin definition for the EventManager class

API

  
    abstract class EventManagerPlugin {}
  
  

supports

boolean

Should return true for every event name that should be supported by this plugin

@parameventNamestring
@returnsboolean

addEventListener

Function

Implement the behaviour for the supported events

@paramelementHTMLElement
@parameventNamestring
@paramhandlerFunction
@paramoptionsListenerOptions | undefined
@returnsFunction

Description

The plugin definition for the EventManager class

It can be used as a base class to create custom manager plugins, i.e. you can create your own class that extends the EventManagerPlugin one.

Jump to details