Classes
ErrorEvent
Extends
Implements
Constructors
new ErrorEvent()
new ErrorEvent(type, options): ErrorEvent
Parameters
| Parameter | Type |
|---|---|
type | string |
options | ErrorEventInit |
Returns
Overrides
Properties
| Property | Modifier | Type | Inherited from |
|---|---|---|---|
AT_TARGET | readonly | 2 | globalThis.ErrorEvent.AT_TARGET Event.AT_TARGET |
BUBBLING_PHASE | readonly | 3 | globalThis.ErrorEvent.BUBBLING_PHASE Event.BUBBLING_PHASE |
CAPTURING_PHASE | readonly | 1 | globalThis.ErrorEvent.CAPTURING_PHASE Event.CAPTURING_PHASE |
NONE | readonly | 0 | globalThis.ErrorEvent.NONE Event.NONE |
bubbles | readonly | boolean | globalThis.ErrorEvent.bubbles Event.bubbles |
cancelBubble | public | boolean | globalThis.ErrorEvent.cancelBubble Event.cancelBubble |
cancelable | readonly | boolean | globalThis.ErrorEvent.cancelable Event.cancelable |
colno | readonly | number | - |
composed | readonly | boolean | globalThis.ErrorEvent.composed Event.composed |
currentTarget | readonly | null | EventTarget | globalThis.ErrorEvent.currentTarget Event.currentTarget |
defaultPrevented | readonly | boolean | globalThis.ErrorEvent.defaultPrevented Event.defaultPrevented |
error | readonly | any | - |
eventPhase | readonly | number | globalThis.ErrorEvent.eventPhase Event.eventPhase |
filename | readonly | string | - |
isTrusted | readonly | boolean | globalThis.ErrorEvent.isTrusted Event.isTrusted |
lineno | readonly | number | - |
message | readonly | string | - |
returnValue | public | boolean | globalThis.ErrorEvent.returnValue Event.returnValue |
srcElement | readonly | null | EventTarget | globalThis.ErrorEvent.srcElement Event.srcElement |
target | readonly | null | EventTarget | globalThis.ErrorEvent.target Event.target |
timeStamp | readonly | number | globalThis.ErrorEvent.timeStamp Event.timeStamp |
type | readonly | string | globalThis.ErrorEvent.type Event.type |
AT_TARGET | readonly | 2 | Event.AT_TARGET |
BUBBLING_PHASE | readonly | 3 | Event.BUBBLING_PHASE |
CAPTURING_PHASE | readonly | 1 | Event.CAPTURING_PHASE |
NONE | readonly | 0 | Event.NONE |
Methods
composedPath()
composedPath(): EventTarget[]
Returns
Implementation of
globalThis.ErrorEvent.composedPath
Inherited from
initEvent()
initEvent(type, bubbles?, cancelable?): void
Parameters
| Parameter | Type |
|---|---|
type | string |
bubbles? | boolean |
cancelable? | boolean |
Returns
void
Implementation of
globalThis.ErrorEvent.initEvent
Inherited from
preventDefault()
preventDefault(): void
Returns
void
Implementation of
globalThis.ErrorEvent.preventDefault
Inherited from
stopImmediatePropagation()
stopImmediatePropagation(): void
Returns
void
Implementation of
globalThis.ErrorEvent.stopImmediatePropagation
Inherited from
Event.stopImmediatePropagation
stopPropagation()
stopPropagation(): void
Returns
void
Implementation of
globalThis.ErrorEvent.stopPropagation