PromiseRejectionEventInit
Generated.swift:13886class PromiseRejectionEventInit
class PromiseRejectionEventInit
import DOM
class BridgedDictionary
protocol ConstructibleFromJSValue
Types conforming to this protocol can be constructed from JSValue
.
protocol ConvertibleToJSValue
Objects that can be converted to a JavaScript value, preferably in a lossless manner.
convenience init(promise: JSPromise, reason: JSValue)
required init(unsafelyWrapping object: JSObject)
@ReadWriteAttribute var promise: JSPromise { get set }
@ReadWriteAttribute var reason: JSValue { get set }