window.EventTarget
See: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget
addEventListener(eventName, callback, options)
See: EventTarget - addEventListener
Param | Type | Description |
---|---|---|
eventName | * | |
callback | * | |
options | boolean | Object | Boolean value denoting capture value or options object. Currently supports only capture in options object ({ capture: bool_value }). |
removeEventListener(eventName, callback, options)
See: EventTarget - removeEventListener
Param | Type | Description |
---|---|---|
eventName | * | |
callback | * | |
options | boolean | Object | Boolean value denoting capture value or options object. Currently supports only capture in options object ({ capture: bool_value }). |
dispatchEvent(event)
Param | Type |
---|---|
event | * |