WindowOrWorkerGlobalScope

external interface WindowOrWorkerGlobalScope

Exposes the JavaScript WindowOrWorkerGlobalScope to Kotlin

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 = definedExternally)
Link copied to clipboard
abstract fun clearTimeout(handle: Int = definedExternally)
Link copied to clipboard
abstract fun createImageBitmap(image: ImageBitmapSource, options: ImageBitmapOptions = definedExternally): Promise<ImageBitmap>
abstract fun createImageBitmap(image: ImageBitmapSource, sx: Int, sy: Int, sw: Int, sh: Int, options: ImageBitmapOptions = definedExternally): Promise<ImageBitmap>
Link copied to clipboard
abstract fun fetch(input: dynamic, init: RequestInit = definedExternally): Promise<Response>
Link copied to clipboard
abstract fun setInterval(handler: dynamic, timeout: Int = definedExternally, vararg arguments: Any?): Int
Link copied to clipboard
abstract fun setTimeout(handler: dynamic, timeout: Int = definedExternally, vararg arguments: Any?): Int

Properties

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

Inheritors

Link copied to clipboard
Link copied to clipboard