Methods
addEventListener
- addEventListener(type: string, listener: function, useCapture?: boolean, priority?: number, useWeakReference?: boolean): void
-
Parameters
-
type: string
-
listener: function
-
Optional useCapture: boolean
-
Optional priority: number
-
Optional useWeakReference: boolean
Returns void
dispatchEvent
- dispatchEvent(event: Event): boolean
-
Parameters
Returns boolean
hasEventListener
- hasEventListener(type: string): boolean
-
Parameters
Returns boolean
removeEventListener
- removeEventListener(type: string, listener: function, useCapture?: boolean): void
-
Parameters
-
type: string
-
listener: function
-
Optional useCapture: boolean
Returns void
willTrigger
- willTrigger(type: string): boolean
-
Parameters
Returns boolean