• 개요
@angular/platform-browser

EventManagerPlugin

클래스
안정화

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

설명

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.

상세 내용으로 이동