Methods
addEventListener
- addEventListener(name: string, handler: Function): EventEmitter
-
Parameters
-
name: string
-
handler: Function
Returns EventEmitter
dispatchEvent
- dispatchEvent(name: string, ...args: any[]): boolean
-
Parameters
-
name: string
-
Rest ...args: any[]
Returns boolean
removeEventListener
- removeEventListener(name: string, handler: Function): EventEmitter
-
Parameters
-
name: string
-
handler: Function
Returns EventEmitter