nx.js
Classes

ErrorEvent

Extends

Implements

Constructors

new ErrorEvent()

new ErrorEvent(type, options): ErrorEvent

Parameters

ParameterType
typestring
optionsErrorEventInit

Returns

ErrorEvent

Overrides

Event.constructor

Properties

PropertyModifierTypeInherited from
AT_TARGETreadonly2globalThis.ErrorEvent.AT_TARGET Event.AT_TARGET
BUBBLING_PHASEreadonly3globalThis.ErrorEvent.BUBBLING_PHASE Event.BUBBLING_PHASE
CAPTURING_PHASEreadonly1globalThis.ErrorEvent.CAPTURING_PHASE Event.CAPTURING_PHASE
NONEreadonly0globalThis.ErrorEvent.NONE Event.NONE
bubblesreadonlybooleanglobalThis.ErrorEvent.bubbles Event.bubbles
cancelBubblepublicbooleanglobalThis.ErrorEvent.cancelBubble Event.cancelBubble
cancelablereadonlybooleanglobalThis.ErrorEvent.cancelable Event.cancelable
colnoreadonlynumber-
composedreadonlybooleanglobalThis.ErrorEvent.composed Event.composed
currentTargetreadonlynull | EventTargetglobalThis.ErrorEvent.currentTarget Event.currentTarget
defaultPreventedreadonlybooleanglobalThis.ErrorEvent.defaultPrevented Event.defaultPrevented
errorreadonlyany-
eventPhasereadonlynumberglobalThis.ErrorEvent.eventPhase Event.eventPhase
filenamereadonlystring-
isTrustedreadonlybooleanglobalThis.ErrorEvent.isTrusted Event.isTrusted
linenoreadonlynumber-
messagereadonlystring-
returnValuepublicbooleanglobalThis.ErrorEvent.returnValue Event.returnValue
srcElementreadonlynull | EventTargetglobalThis.ErrorEvent.srcElement Event.srcElement
targetreadonlynull | EventTargetglobalThis.ErrorEvent.target Event.target
timeStampreadonlynumberglobalThis.ErrorEvent.timeStamp Event.timeStamp
typereadonlystringglobalThis.ErrorEvent.type Event.type
AT_TARGETreadonly2Event.AT_TARGET
BUBBLING_PHASEreadonly3Event.BUBBLING_PHASE
CAPTURING_PHASEreadonly1Event.CAPTURING_PHASE
NONEreadonly0Event.NONE

Methods

composedPath()

composedPath(): EventTarget[]

Returns

EventTarget[]

Implementation of

globalThis.ErrorEvent.composedPath

Inherited from

Event.composedPath


initEvent()

initEvent(type, bubbles?, cancelable?): void

Parameters

ParameterType
typestring
bubbles?boolean
cancelable?boolean

Returns

void

Implementation of

globalThis.ErrorEvent.initEvent

Inherited from

Event.initEvent


preventDefault()

preventDefault(): void

Returns

void

Implementation of

globalThis.ErrorEvent.preventDefault

Inherited from

Event.preventDefault


stopImmediatePropagation()

stopImmediatePropagation(): void

Returns

void

Implementation of

globalThis.ErrorEvent.stopImmediatePropagation

Inherited from

Event.stopImmediatePropagation


stopPropagation()

stopPropagation(): void

Returns

void

Implementation of

globalThis.ErrorEvent.stopPropagation

Inherited from

Event.stopPropagation

On this page