Constructors

Link copied to clipboard
constructor()
constructor()

Properties

Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
abstract val caches: CacheStorage
Since Kotlin 1.1
abstract val caches: CacheStorage
Since Kotlin 1.8
Link copied to clipboard
open val closed: Boolean
Since Kotlin 1.1
open val closed: Boolean
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open val document: Document
Since Kotlin 1.1
open val document: Document
Since Kotlin 1.8
Link copied to clipboard
open val external: External
Since Kotlin 1.1
open val external: External
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open val frames: Window
Since Kotlin 1.1
open val frames: Window
Since Kotlin 1.8
Link copied to clipboard
open val history: History
Since Kotlin 1.1
open val history: History
Since Kotlin 1.8
Link copied to clipboard
open val innerHeight: Int
Since Kotlin 1.1
open val innerHeight: Int
Since Kotlin 1.8
Link copied to clipboard
open val innerWidth: Int
Since Kotlin 1.1
open val innerWidth: Int
Since Kotlin 1.8
Link copied to clipboard
open val length: Int
Since Kotlin 1.1
open val length: Int
Since Kotlin 1.8
Link copied to clipboard
abstract val localStorage: Storage
Since Kotlin 1.1
abstract val localStorage: Storage
Since Kotlin 1.8
Link copied to clipboard
open val location: Location
Since Kotlin 1.1
open val location: Location
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open val menubar: BarProp
Since Kotlin 1.1
open val menubar: BarProp
Since Kotlin 1.8
Link copied to clipboard
open var name: String
Since Kotlin 1.1
open var name: String
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var onabort: (Event) -> dynamic?
Since Kotlin 1.1
open var onabort: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onafterprint: (Event) -> dynamic?
Since Kotlin 1.1
open var onafterprint: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onbeforeprint: (Event) -> dynamic?
Since Kotlin 1.1
open var onbeforeprint: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var onblur: (FocusEvent) -> dynamic?
Since Kotlin 1.1
open var onblur: (FocusEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var oncancel: (Event) -> dynamic?
Since Kotlin 1.1
open var oncancel: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var oncanplay: (Event) -> dynamic?
Since Kotlin 1.1
open var oncanplay: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var oncanplaythrough: (Event) -> dynamic?
Since Kotlin 1.1
open var oncanplaythrough: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onchange: (Event) -> dynamic?
Since Kotlin 1.1
open var onchange: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onclick: (MouseEvent) -> dynamic?
Since Kotlin 1.1
open var onclick: (MouseEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onclose: (Event) -> dynamic?
Since Kotlin 1.1
open var onclose: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var oncontextmenu: (MouseEvent) -> dynamic?
Since Kotlin 1.1
open var oncontextmenu: (MouseEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var oncuechange: (Event) -> dynamic?
Since Kotlin 1.1
open var oncuechange: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var ondblclick: (MouseEvent) -> dynamic?
Since Kotlin 1.1
open var ondblclick: (MouseEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var ondrag: (DragEvent) -> dynamic?
Since Kotlin 1.1
open var ondrag: (DragEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var ondragend: (DragEvent) -> dynamic?
Since Kotlin 1.1
open var ondragend: (DragEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var ondragenter: (DragEvent) -> dynamic?
Since Kotlin 1.1
open var ondragenter: (DragEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var ondragexit: (DragEvent) -> dynamic?
Since Kotlin 1.1
open var ondragexit: (DragEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var ondragleave: (DragEvent) -> dynamic?
Since Kotlin 1.1
open var ondragleave: (DragEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var ondragover: (DragEvent) -> dynamic?
Since Kotlin 1.1
open var ondragover: (DragEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var ondragstart: (DragEvent) -> dynamic?
Since Kotlin 1.1
open var ondragstart: (DragEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var ondrop: (DragEvent) -> dynamic?
Since Kotlin 1.1
open var ondrop: (DragEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var ondurationchange: (Event) -> dynamic?
Since Kotlin 1.1
open var ondurationchange: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onemptied: (Event) -> dynamic?
Since Kotlin 1.1
open var onemptied: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onended: (Event) -> dynamic?
Since Kotlin 1.1
open var onended: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onerror: (dynamic, String, Int, Int, Any?) -> dynamic?
Since Kotlin 1.1
open var onerror: (JsAny?, String, Int, Int, JsAny?) -> JsAny??
Since Kotlin 1.8
Link copied to clipboard
open var onfocus: (FocusEvent) -> dynamic?
Since Kotlin 1.1
open var onfocus: (FocusEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var ongotpointercapture: (PointerEvent) -> dynamic?
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var onhashchange: (HashChangeEvent) -> dynamic?
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var oninput: (InputEvent) -> dynamic?
Since Kotlin 1.1
open var oninput: (InputEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var oninvalid: (Event) -> dynamic?
Since Kotlin 1.1
open var oninvalid: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onkeydown: (KeyboardEvent) -> dynamic?
Since Kotlin 1.1
open var onkeydown: (KeyboardEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onkeypress: (KeyboardEvent) -> dynamic?
Since Kotlin 1.1
open var onkeypress: (KeyboardEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onkeyup: (KeyboardEvent) -> dynamic?
Since Kotlin 1.1
open var onkeyup: (KeyboardEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onlanguagechange: (Event) -> dynamic?
Since Kotlin 1.1
open var onlanguagechange: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onload: (Event) -> dynamic?
Since Kotlin 1.1
open var onload: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onloadeddata: (Event) -> dynamic?
Since Kotlin 1.1
open var onloadeddata: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onloadedmetadata: (Event) -> dynamic?
Since Kotlin 1.1
open var onloadedmetadata: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onloadend: (Event) -> dynamic?
Since Kotlin 1.1
open var onloadend: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onloadstart: (ProgressEvent) -> dynamic?
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var onlostpointercapture: (PointerEvent) -> dynamic?
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var onmessage: (MessageEvent) -> dynamic?
Since Kotlin 1.1
open var onmessage: (MessageEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onmousedown: (MouseEvent) -> dynamic?
Since Kotlin 1.1
open var onmousedown: (MouseEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onmouseenter: (MouseEvent) -> dynamic?
Since Kotlin 1.1
open var onmouseenter: (MouseEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onmouseleave: (MouseEvent) -> dynamic?
Since Kotlin 1.1
open var onmouseleave: (MouseEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onmousemove: (MouseEvent) -> dynamic?
Since Kotlin 1.1
open var onmousemove: (MouseEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onmouseout: (MouseEvent) -> dynamic?
Since Kotlin 1.1
open var onmouseout: (MouseEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onmouseover: (MouseEvent) -> dynamic?
Since Kotlin 1.1
open var onmouseover: (MouseEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onmouseup: (MouseEvent) -> dynamic?
Since Kotlin 1.1
open var onmouseup: (MouseEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onoffline: (Event) -> dynamic?
Since Kotlin 1.1
open var onoffline: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var ononline: (Event) -> dynamic?
Since Kotlin 1.1
open var ononline: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onpagehide: (PageTransitionEvent) -> dynamic?
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var onpageshow: (PageTransitionEvent) -> dynamic?
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var onpause: (Event) -> dynamic?
Since Kotlin 1.1
open var onpause: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onplay: (Event) -> dynamic?
Since Kotlin 1.1
open var onplay: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onplaying: (Event) -> dynamic?
Since Kotlin 1.1
open var onplaying: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onpointercancel: (PointerEvent) -> dynamic?
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var onpointerdown: (PointerEvent) -> dynamic?
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var onpointerenter: (PointerEvent) -> dynamic?
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var onpointerleave: (PointerEvent) -> dynamic?
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var onpointermove: (PointerEvent) -> dynamic?
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var onpointerout: (PointerEvent) -> dynamic?
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var onpointerover: (PointerEvent) -> dynamic?
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var onpointerup: (PointerEvent) -> dynamic?
Since Kotlin 1.1
open var onpointerup: (PointerEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onpopstate: (PopStateEvent) -> dynamic?
Since Kotlin 1.1
open var onpopstate: (PopStateEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onprogress: (ProgressEvent) -> dynamic?
Since Kotlin 1.1
open var onprogress: (ProgressEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onratechange: (Event) -> dynamic?
Since Kotlin 1.1
open var onratechange: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onrejectionhandled: (Event) -> dynamic?
Since Kotlin 1.1
open var onrejectionhandled: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onreset: (Event) -> dynamic?
Since Kotlin 1.1
open var onreset: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onresize: (Event) -> dynamic?
Since Kotlin 1.1
open var onresize: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onscroll: (Event) -> dynamic?
Since Kotlin 1.1
open var onscroll: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onseeked: (Event) -> dynamic?
Since Kotlin 1.1
open var onseeked: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onseeking: (Event) -> dynamic?
Since Kotlin 1.1
open var onseeking: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onselect: (Event) -> dynamic?
Since Kotlin 1.1
open var onselect: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onshow: (Event) -> dynamic?
Since Kotlin 1.1
open var onshow: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onstalled: (Event) -> dynamic?
Since Kotlin 1.1
open var onstalled: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onstorage: (StorageEvent) -> dynamic?
Since Kotlin 1.1
open var onstorage: (StorageEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onsubmit: (Event) -> dynamic?
Since Kotlin 1.1
open var onsubmit: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onsuspend: (Event) -> dynamic?
Since Kotlin 1.1
open var onsuspend: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var ontimeupdate: (Event) -> dynamic?
Since Kotlin 1.1
open var ontimeupdate: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var ontoggle: (Event) -> dynamic?
Since Kotlin 1.1
open var ontoggle: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var onunload: (Event) -> dynamic?
Since Kotlin 1.1
open var onunload: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onvolumechange: (Event) -> dynamic?
Since Kotlin 1.1
open var onvolumechange: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onwaiting: (Event) -> dynamic?
Since Kotlin 1.1
open var onwaiting: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var onwheel: (WheelEvent) -> dynamic?
Since Kotlin 1.1
open var onwheel: (WheelEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open var opener: Any?
Since Kotlin 1.1
open var opener: JsAny?
Since Kotlin 1.8
Link copied to clipboard
abstract val origin: String
Since Kotlin 1.1
abstract val origin: String
Since Kotlin 1.8
Link copied to clipboard
open val outerHeight: Int
Since Kotlin 1.1
open val outerHeight: Int
Since Kotlin 1.8
Link copied to clipboard
open val outerWidth: Int
Since Kotlin 1.1
open val outerWidth: Int
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open val parent: Window
Since Kotlin 1.1
open val parent: Window
Since Kotlin 1.8
Link copied to clipboard
abstract val performance: Performance
Since Kotlin 1.1
abstract val performance: Performance
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open val screen: Screen
Since Kotlin 1.1
open val screen: Screen
Since Kotlin 1.8
Link copied to clipboard
open val screenX: Int
Since Kotlin 1.1
open val screenX: Int
Since Kotlin 1.8
Link copied to clipboard
open val screenY: Int
Since Kotlin 1.1
open val screenY: Int
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open val scrollX: Double
Since Kotlin 1.1
open val scrollX: Double
Since Kotlin 1.8
Link copied to clipboard
open val scrollY: Double
Since Kotlin 1.1
open val scrollY: Double
Since Kotlin 1.8
Link copied to clipboard
open val self: Window
Since Kotlin 1.1
open val self: Window
Since Kotlin 1.8
Link copied to clipboard
abstract val sessionStorage: Storage
Since Kotlin 1.1
abstract val sessionStorage: Storage
Since Kotlin 1.8
Link copied to clipboard
open var status: String
Since Kotlin 1.1
open var status: String
Since Kotlin 1.8
Link copied to clipboard
open val statusbar: BarProp
Since Kotlin 1.1
open val statusbar: BarProp
Since Kotlin 1.8
Link copied to clipboard
open val toolbar: BarProp
Since Kotlin 1.1
open val toolbar: BarProp
Since Kotlin 1.8
Link copied to clipboard
open val top: Window
Since Kotlin 1.1
open val top: Window
Since Kotlin 1.8
Link copied to clipboard
open val window: Window
Since Kotlin 1.1
open val window: Window
Since Kotlin 1.8

Functions

Link copied to clipboard
fun addEventListener(type: String, callback: (Event) -> Unit?, options: dynamic = definedExternally)
fun addEventListener(type: String, callback: EventListener?, options: dynamic = definedExternally)
Since Kotlin 1.1
fun addEventListener(type: String, callback: (Event) -> Unit?)
fun addEventListener(type: String, callback: EventListener?)
fun addEventListener(type: String, callback: (Event) -> Unit?, options: Boolean)
fun addEventListener(type: String, callback: (Event) -> Unit?, options: AddEventListenerOptions)
fun addEventListener(type: String, callback: EventListener?, options: Boolean)
Since Kotlin 1.8
Link copied to clipboard
fun alert()
fun alert(message: String)
Since Kotlin 1.1
fun alert()
fun alert(message: String)
Since Kotlin 1.8
Link copied to clipboard
abstract fun atob(data: String): String
Since Kotlin 1.1
abstract fun atob(data: String): String
Since Kotlin 1.8
Link copied to clipboard
fun blur()
Since Kotlin 1.1
fun blur()
Since Kotlin 1.8
Link copied to clipboard
abstract fun btoa(data: String): String
Since Kotlin 1.1
abstract fun btoa(data: String): String
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
abstract fun clearInterval(handle: Int = definedExternally)
Since Kotlin 1.1
abstract fun clearInterval(handle: Int = definedExternally)
Since Kotlin 1.8
Link copied to clipboard
abstract fun clearTimeout(handle: Int = definedExternally)
Since Kotlin 1.1
abstract fun clearTimeout(handle: Int = definedExternally)
Since Kotlin 1.8
Link copied to clipboard
fun close()
Since Kotlin 1.1
fun close()
Since Kotlin 1.8
Link copied to clipboard
fun confirm(message: String = definedExternally): Boolean
Since Kotlin 1.1
fun confirm(message: String = definedExternally): Boolean
Since Kotlin 1.8
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>
Since Kotlin 1.1
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>
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
abstract fun fetch(input: dynamic, init: RequestInit = definedExternally): Promise<Response>
Since Kotlin 1.1
abstract fun fetch(input: String, init: RequestInit = definedExternally): Promise<Response>
abstract fun fetch(input: Request, init: RequestInit = definedExternally): Promise<Response>
Since Kotlin 1.8
Link copied to clipboard
fun focus()
Since Kotlin 1.1
fun focus()
Since Kotlin 1.8
Link copied to clipboard
inline operator fun Window.get(name: String): dynamic
Since Kotlin 1.1
operator fun Window.get(name: String): JsAny?
Since Kotlin 1.8
Link copied to clipboard
fun getComputedStyle(elt: Element, pseudoElt: String? = definedExternally): CSSStyleDeclaration
Since Kotlin 1.1
fun getComputedStyle(elt: Element, pseudoElt: String? = definedExternally): CSSStyleDeclaration
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
fun moveBy(x: Int, y: Int)
Since Kotlin 1.1
fun moveBy(x: Int, y: Int)
Since Kotlin 1.8
Link copied to clipboard
fun moveTo(x: Int, y: Int)
Since Kotlin 1.1
fun moveTo(x: Int, y: Int)
Since Kotlin 1.8
Link copied to clipboard
fun open(url: String = definedExternally, target: String = definedExternally, features: String = definedExternally): Window?
Since Kotlin 1.1
fun open(url: String = definedExternally, target: String = definedExternally, features: String = definedExternally): Window?
Since Kotlin 1.8
Link copied to clipboard
fun postMessage(message: Any?, targetOrigin: String, transfer: Array<dynamic> = definedExternally)
Since Kotlin 1.1
fun postMessage(message: JsAny?, targetOrigin: String, transfer: JsArray<JsAny> = definedExternally)
Since Kotlin 1.8
Link copied to clipboard
fun print()
Since Kotlin 1.1
fun print()
Since Kotlin 1.8
Link copied to clipboard
fun prompt(message: String = definedExternally, default: String = definedExternally): String?
Since Kotlin 1.1
fun prompt(message: String = definedExternally, default: String = definedExternally): String?
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
fun removeEventListener(type: String, callback: (Event) -> Unit?, options: dynamic = definedExternally)
fun removeEventListener(type: String, callback: EventListener?, options: dynamic = definedExternally)
Since Kotlin 1.1
fun removeEventListener(type: String, callback: (Event) -> Unit?)
fun removeEventListener(type: String, callback: (Event) -> Unit?, options: Boolean)
fun removeEventListener(type: String, callback: (Event) -> Unit?, options: EventListenerOptions)
fun removeEventListener(type: String, callback: EventListener?, options: Boolean)
Since Kotlin 1.8
Link copied to clipboard
fun requestAnimationFrame(callback: (Double) -> Unit): Int
Since Kotlin 1.1
fun requestAnimationFrame(callback: (Double) -> Unit): Int
Since Kotlin 1.8
Link copied to clipboard
fun resizeBy(x: Int, y: Int)
Since Kotlin 1.1
fun resizeBy(x: Int, y: Int)
Since Kotlin 1.8
Link copied to clipboard
fun resizeTo(x: Int, y: Int)
Since Kotlin 1.1
fun resizeTo(x: Int, y: Int)
Since Kotlin 1.8
Link copied to clipboard
fun scroll(options: ScrollToOptions = definedExternally)
fun scroll(x: Double, y: Double)
Since Kotlin 1.1
fun scroll(options: ScrollToOptions = definedExternally)
fun scroll(x: Double, y: Double)
Since Kotlin 1.8
Link copied to clipboard
fun scrollBy(options: ScrollToOptions = definedExternally)
fun scrollBy(x: Double, y: Double)
Since Kotlin 1.1
fun scrollBy(options: ScrollToOptions = definedExternally)
fun scrollBy(x: Double, y: Double)
Since Kotlin 1.8
Link copied to clipboard
fun scrollTo(options: ScrollToOptions = definedExternally)
fun scrollTo(x: Double, y: Double)
Since Kotlin 1.1
fun scrollTo(options: ScrollToOptions = definedExternally)
fun scrollTo(x: Double, y: Double)
Since Kotlin 1.8
Link copied to clipboard
abstract fun setInterval(handler: dynamic, timeout: Int = definedExternally, vararg arguments: Any?): Int
Since Kotlin 1.1
abstract fun setInterval(handler: () -> JsAny?, timeout: Int = definedExternally, vararg arguments: JsAny?): Int
abstract fun setInterval(handler: String, timeout: Int = definedExternally, vararg arguments: JsAny?): Int
Since Kotlin 1.8
Link copied to clipboard
abstract fun setTimeout(handler: dynamic, timeout: Int = definedExternally, vararg arguments: Any?): Int
Since Kotlin 1.1
abstract fun setTimeout(handler: () -> JsAny?, timeout: Int = definedExternally, vararg arguments: JsAny?): Int
abstract fun setTimeout(handler: String, timeout: Int = definedExternally, vararg arguments: JsAny?): Int
Since Kotlin 1.8
Link copied to clipboard
fun stop()
Since Kotlin 1.1
fun stop()
Since Kotlin 1.8
Link copied to clipboard

For a Dynamic value caught in JS, returns the corresponding Throwable if it was thrown from Kotlin, or null otherwise.

Since Kotlin 1.8
Link copied to clipboard
fun <T : JsAny> JsAny.unsafeCast(): T

Cast JsAny to other Js type without runtime check

Since Kotlin 1.8