1.26.2.1
Gameface
PromiseRejectionEvent Interface Reference
+ Inheritance diagram for PromiseRejectionEvent:

Public Member Functions

PromiseRejectionEvent PromiseRejectionEvent (DOMInternedString type, PromiseRejectionEventInit eventInitDict)
 
- Public Member Functions inherited from Event
Event Event (DOMInternedString type, optional EventInit initEvent)
 
void stopPropagation ()
 
void preventDefault ()
 
void initEvent ([Default=Undefined] optional DOMInternedString eventTypeArg, [Default=Undefined] optional boolean canBubbleArg, [Default=Undefined] optional boolean cancelableArg)
 
void stopImmediatePropagation ()
 

Public Attributes

readonly attribute Promise< any > promise
 
readonly attribute any reason
 
- Public Attributes inherited from Event
const unsigned short NONE = 0
 
const unsigned short CAPTURING_PHASE = 1
 
const unsigned short AT_TARGET = 2
 
const unsigned short BUBBLING_PHASE = 3
 
readonly attribute DOMString type
 
readonly attribute EventTarget target
 
readonly attribute EventTarget currentTarget
 
readonly attribute unsigned short eventPhase
 
readonly attribute boolean bubbles
 
readonly attribute boolean cancelable
 
readonly attribute boolean defaultPrevented
 

Constructor & Destructor Documentation

◆ PromiseRejectionEvent()

PromiseRejectionEvent PromiseRejectionEvent::PromiseRejectionEvent ( DOMInternedString  type,
PromiseRejectionEventInit  eventInitDict 
)

Member Data Documentation

◆ promise

readonly attribute Promise<any> PromiseRejectionEvent::promise

◆ reason

readonly attribute any PromiseRejectionEvent::reason