Classes
PromiseRejectionEvent
Extends
Implements
Constructors
new PromiseRejectionEvent()
new PromiseRejectionEvent(type, options): PromiseRejectionEvent
Parameters
| Parameter | Type |
|---|---|
type | string |
options | PromiseRejectionEventInit |
Returns
Overrides
Properties
| Property | Modifier | Type | Inherited from |
|---|---|---|---|
AT_TARGET | readonly | 2 | globalThis.PromiseRejectionEvent.AT_TARGET Event.AT_TARGET |
BUBBLING_PHASE | readonly | 3 | globalThis.PromiseRejectionEvent.BUBBLING_PHASE Event.BUBBLING_PHASE |
CAPTURING_PHASE | readonly | 1 | globalThis.PromiseRejectionEvent.CAPTURING_PHASE Event.CAPTURING_PHASE |
NONE | readonly | 0 | globalThis.PromiseRejectionEvent.NONE Event.NONE |
bubbles | readonly | boolean | globalThis.PromiseRejectionEvent.bubbles Event.bubbles |
cancelBubble | public | boolean | globalThis.PromiseRejectionEvent.cancelBubble Event.cancelBubble |
cancelable | readonly | boolean | globalThis.PromiseRejectionEvent.cancelable Event.cancelable |
composed | readonly | boolean | globalThis.PromiseRejectionEvent.composed Event.composed |
currentTarget | readonly | null | EventTarget | globalThis.PromiseRejectionEvent.currentTarget Event.currentTarget |
defaultPrevented | readonly | boolean | globalThis.PromiseRejectionEvent.defaultPrevented Event.defaultPrevented |
eventPhase | readonly | number | globalThis.PromiseRejectionEvent.eventPhase Event.eventPhase |
isTrusted | readonly | boolean | globalThis.PromiseRejectionEvent.isTrusted Event.isTrusted |
promise | readonly | Promise<any> | - |
reason | readonly | any | - |
returnValue | public | boolean | globalThis.PromiseRejectionEvent.returnValue Event.returnValue |
srcElement | readonly | null | EventTarget | globalThis.PromiseRejectionEvent.srcElement Event.srcElement |
target | readonly | null | EventTarget | globalThis.PromiseRejectionEvent.target Event.target |
timeStamp | readonly | number | globalThis.PromiseRejectionEvent.timeStamp Event.timeStamp |
type | readonly | string | globalThis.PromiseRejectionEvent.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.PromiseRejectionEvent.composedPath
Inherited from
initEvent()
initEvent(type, bubbles?, cancelable?): void
Parameters
| Parameter | Type |
|---|---|
type | string |
bubbles? | boolean |
cancelable? | boolean |
Returns
void
Implementation of
globalThis.PromiseRejectionEvent.initEvent
Inherited from
preventDefault()
preventDefault(): void
Returns
void
Implementation of
globalThis.PromiseRejectionEvent.preventDefault
Inherited from
stopImmediatePropagation()
stopImmediatePropagation(): void
Returns
void
Implementation of
globalThis.PromiseRejectionEvent.stopImmediatePropagation
Inherited from
Event.stopImmediatePropagation
stopPropagation()
stopPropagation(): void
Returns
void
Implementation of
globalThis.PromiseRejectionEvent.stopPropagation