FetchEvent

JS
1.1
open class FetchEvent : ExtendableEvent

Exposes the JavaScript FetchEvent to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript FetchEvent to Kotlin

FetchEvent(type: String, eventInitDict: FetchEventInit)

Properties

JS
1.1

clientId

open val clientId: String?
JS
1.1

isReload

open val isReload: Boolean
JS
1.1

request

open val request: Request

Functions

JS
1.1

respondWith

fun respondWith(r: Promise<Response>)

Companion Object Properties

JS
1.1

AT_TARGET

val AT_TARGET: Short
JS
1.1

BUBBLING_PHASE

val BUBBLING_PHASE: Short
JS
1.1

CAPTURING_PHASE

val CAPTURING_PHASE: Short
JS
1.1

NONE

val NONE: Short