EventManagerPlugin
The plugin definition for the EventManager
class
abstract class EventManagerPlugin {
constructor(_doc: any)
manager: EventManager
abstract supports(eventName: string): boolean
abstract addEventListener(element: HTMLElement, eventName: string, handler: Function): Function
}
Description
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.
Constructor
Properties
Property | Description |
---|---|
manager: EventManager
|
Methods
supports() |
---|
Should return |
addEventListener() |
---|
Implement the behaviour for the supported events |