FetchEvent

open class FetchEvent(type: String, eventInitDict: FetchEventInit) : ExtendableEvent, JsAny

Exposes the JavaScript FetchEvent to Kotlin

Constructors

Link copied to clipboard
constructor(type: String, eventInitDict: FetchEventInit)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val bubbles: Boolean
Link copied to clipboard
Link copied to clipboard
open val clientId: String?
Link copied to clipboard
open val composed: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val eventPhase: Short
Link copied to clipboard
open val isReload: Boolean
Link copied to clipboard
open val isTrusted: Boolean
Link copied to clipboard
open val request: Request
Link copied to clipboard
open val target: EventTarget?
Link copied to clipboard
Link copied to clipboard
open val type: String

Functions

Link copied to clipboard
Link copied to clipboard
fun initEvent(type: String, bubbles: Boolean, cancelable: Boolean)
Link copied to clipboard
Link copied to clipboard
fun respondWith(r: Promise<*>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun waitUntil(f: Promise<*>)