GlobalScope

Constructors

Link copied to clipboard
constructor()

Properties

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

Functions

Link copied to clipboard
fun addEventListener(type: String, callback: (Event) -> Unit?, options: dynamic)
fun addEventListener(type: String, callback: EventListener?, options: dynamic)
Link copied to clipboard
abstract fun atob(data: String): String
Link copied to clipboard
abstract fun btoa(data: String): String
Link copied to clipboard
Link copied to clipboard
abstract fun clearInterval(handle: Int)
Link copied to clipboard
abstract fun clearTimeout(handle: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun fetch(input: dynamic, init: RequestInit): Promise<Response>
Link copied to clipboard
fun postMessage(message: dynamic, targetOrigin: dynamic = definedExternally, transfer: dynamic = definedExternally)
Link copied to clipboard
fun removeEventListener(type: String, callback: (Event) -> Unit?, options: dynamic)
fun removeEventListener(type: String, callback: EventListener?, options: dynamic)
Link copied to clipboard
fun requestAnimationFrame(callback: (Double) -> Unit): Int
Link copied to clipboard
abstract fun setInterval(handler: dynamic, timeout: Int, vararg arguments: Any?): Int
Link copied to clipboard
abstract fun setTimeout(handler: dynamic, timeout: Int, vararg arguments: Any?): Int