WindowOrWorkerGlobalScope

Exposes the JavaScript WindowOrWorkerGlobalScope to Kotlin

Inheritors

Properties

Link copied to clipboard
abstract val caches: CacheStorage
Link copied to clipboard
abstract val origin: String

Functions

Link copied to clipboard
abstract fun atob(data: String): String
Link copied to clipboard
abstract fun btoa(data: String): String
Link copied to clipboard
abstract fun clearInterval(handle: Int)
Link copied to clipboard
abstract fun clearTimeout(handle: Int)
Link copied to clipboard
abstract fun createImageBitmap(image: ImageBitmapSource, sx: Int, sy: Int, sw: Int, sh: Int, options: ImageBitmapOptions): Promise<*>
Link copied to clipboard
abstract fun fetch(input: String, init: RequestInit): Promise<Response>
abstract fun fetch(input: Request, init: RequestInit): Promise<Response>
Link copied to clipboard
abstract fun setInterval(handler: () -> JsAny?, timeout: Int, vararg arguments: JsAny?): Int
abstract fun setInterval(handler: String, timeout: Int, vararg arguments: JsAny?): Int
Link copied to clipboard
abstract fun setTimeout(handler: () -> JsAny?, timeout: Int, vararg arguments: JsAny?): Int
abstract fun setTimeout(handler: String, timeout: Int, vararg arguments: JsAny?): Int