All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jsMain.web.window.PromiseRejectionEvent.kt Maven / Gradle / Ivy

// Automatically generated - do not modify!

@file:Suppress(
    "EXTERNAL_CLASS_CONSTRUCTOR_PROPERTY_PARAMETER",
)

package web.window

import web.events.Event
import web.events.EventInit
import web.events.EventType
import kotlin.js.Promise

external interface PromiseRejectionEventInit : EventInit {
    var promise: Promise<*>
    var reason: Any?
}

open external class PromiseRejectionEvent(
    override val type: EventType,
    init: PromiseRejectionEventInit,
) : Event {
    val promise: Promise<*>
    val reason: Any?

    companion object
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy