Solutions
Multiplatform
Server-side
Data science
Android
Docs
Community
Teach
Play
Playground
Examples
Koans
toggle menu
Kotlin libraries
1.6
2.0
1.9
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0
JS
switch theme
search in API
kotlin-stdlib
/
org.w3c.workers
/
FetchEvent
Fetch
Event
JS
open
external
class
FetchEvent
(
type
:
String
,
eventInitDict
:
FetchEventInit
)
:
ExtendableEvent
(
source
)
Exposes the JavaScript
FetchEvent
to Kotlin
Since Kotlin
1.1
Members
Constructors
Fetch
Event
Link copied to clipboard
JS
constructor
(
type
:
String
,
eventInitDict
:
FetchEventInit
)
Types
Companion
Link copied to clipboard
JS
object
Companion
Since Kotlin
1.1
Properties
bubbles
Link copied to clipboard
JS
open
val
bubbles
:
Boolean
Since Kotlin
1.1
cancelable
Link copied to clipboard
JS
open
val
cancelable
:
Boolean
Since Kotlin
1.1
client
Id
Link copied to clipboard
JS
open
val
clientId
:
String
?
Since Kotlin
1.1
composed
Link copied to clipboard
JS
open
val
composed
:
Boolean
Since Kotlin
1.1
current
Target
Link copied to clipboard
JS
open
val
currentTarget
:
EventTarget
?
Since Kotlin
1.1
default
Prevented
Link copied to clipboard
JS
open
val
defaultPrevented
:
Boolean
Since Kotlin
1.1
event
Phase
Link copied to clipboard
JS
open
val
eventPhase
:
Short
Since Kotlin
1.1
is
Reload
Link copied to clipboard
JS
open
val
isReload
:
Boolean
Since Kotlin
1.1
is
Trusted
Link copied to clipboard
JS
open
val
isTrusted
:
Boolean
Since Kotlin
1.1
request
Link copied to clipboard
JS
open
val
request
:
Request
Since Kotlin
1.1
target
Link copied to clipboard
JS
open
val
target
:
EventTarget
?
Since Kotlin
1.1
time
Stamp
Link copied to clipboard
JS
open
val
timeStamp
:
Number
Since Kotlin
1.1
type
Link copied to clipboard
JS
open
val
type
:
String
Since Kotlin
1.1
Functions
composed
Path
Link copied to clipboard
JS
fun
composedPath
(
)
:
Array
<
EventTarget
>
Since Kotlin
1.1
init
Event
Link copied to clipboard
JS
fun
initEvent
(
type
:
String
,
bubbles
:
Boolean
,
cancelable
:
Boolean
)
Since Kotlin
1.1
prevent
Default
Link copied to clipboard
JS
fun
preventDefault
(
)
Since Kotlin
1.1
respond
With
Link copied to clipboard
JS
fun
respondWith
(
r
:
Promise
<
Response
>
)
Since Kotlin
1.1
stop
Immediate
Propagation
Link copied to clipboard
JS
fun
stopImmediatePropagation
(
)
Since Kotlin
1.1
stop
Propagation
Link copied to clipboard
JS
fun
stopPropagation
(
)
Since Kotlin
1.1
wait
Until
Link copied to clipboard
JS
fun
waitUntil
(
f
:
Promise
<
Any
?
>
)
Since Kotlin
1.1
Thanks for your feedback!
Was this page helpful?
Yes
No
How can we improve?
Enter your name and email address if you would like to receive a follow-up message or
contact our support
.
By submitting this form, I agree that JetBrains s.r.o. ("JetBrains") may use my name, email address, phone number, and country of residence to provide support. I agree that JetBrains may process said data using
third-party services
for this purpose in accordance with the
JetBrains Privacy Policy
.