Document

Constructors

Link copied to clipboard
constructor()
constructor()

Types

Link copied to clipboard
object Companion
Since Kotlin 1.1
object Companion
Since Kotlin 1.8

Properties

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
Since Kotlin 1.1
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 baseURI: String
Since Kotlin 1.1
open val baseURI: 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
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open val charset: String
Since Kotlin 1.1
open val charset: String
Since Kotlin 1.8
Link copied to clipboard
open override val childElementCount: Int
Since Kotlin 1.1
open override val childElementCount: Int
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open override val children: HTMLCollection
Since Kotlin 1.1
open override val children: HTMLCollection
Since Kotlin 1.8
Link copied to clipboard
open val compatMode: String
Since Kotlin 1.1
open val compatMode: 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
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open val defaultView: Window?
Since Kotlin 1.1
open val defaultView: Window?
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
var dir: String
Since Kotlin 1.1
var dir: 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
Since Kotlin 1.1
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
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open val firstChild: Node?
Since Kotlin 1.1
open val firstChild: Node?
Since Kotlin 1.8
Link copied to clipboard
open override val firstElementChild: Element?
Since Kotlin 1.1
open override val firstElementChild: Element?
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 override val fullscreenElement: Element?
Since Kotlin 1.1
open override val fullscreenElement: Element?
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
Since Kotlin 1.1
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
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard

Gets a value indicating whether this node is an Element.

Since Kotlin 1.1

Gets a value indicating whether this node is an Element.

Since Kotlin 1.4

Gets a value indicating whether this node is an Element.

Since Kotlin 1.8
Link copied to clipboard

Gets a value indicating whether this node is a TEXT_NODE or a CDATA_SECTION_NODE.

Since Kotlin 1.1

Gets a value indicating whether this node is a TEXT_NODE or a CDATA_SECTION_NODE.

Since Kotlin 1.4

Gets a value indicating whether this node is a TEXT_NODE or a CDATA_SECTION_NODE.

Since Kotlin 1.8
Link copied to clipboard
open val lastChild: Node?
Since Kotlin 1.1
open val lastChild: Node?
Since Kotlin 1.8
Link copied to clipboard
open override val lastElementChild: Element?
Since Kotlin 1.1
open override val lastElementChild: Element?
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
Since Kotlin 1.1
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
open val nextSibling: Node?
Since Kotlin 1.1
open val nextSibling: Node?
Since Kotlin 1.8
Link copied to clipboard
open val nodeName: String
Since Kotlin 1.1
open val nodeName: String
Since Kotlin 1.8
Link copied to clipboard
open val nodeType: Short
Since Kotlin 1.1
open val nodeType: Short
Since Kotlin 1.8
Link copied to clipboard
open var nodeValue: String?
Since Kotlin 1.1
open var nodeValue: String?
Since Kotlin 1.8
Link copied to clipboard
open override var onabort: (Event) -> dynamic?
Since Kotlin 1.1
open override var onabort: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onblur: (FocusEvent) -> dynamic?
Since Kotlin 1.1
open override var onblur: (FocusEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var oncancel: (Event) -> dynamic?
Since Kotlin 1.1
open override var oncancel: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var oncanplay: (Event) -> dynamic?
Since Kotlin 1.1
open override var oncanplay: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var oncanplaythrough: (Event) -> dynamic?
Since Kotlin 1.1
open override var oncanplaythrough: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onchange: (Event) -> dynamic?
Since Kotlin 1.1
open override var onchange: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onclick: (MouseEvent) -> dynamic?
Since Kotlin 1.1
open override var onclick: (MouseEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onclose: (Event) -> dynamic?
Since Kotlin 1.1
open override var onclose: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var oncontextmenu: (MouseEvent) -> dynamic?
Since Kotlin 1.1
open override var oncontextmenu: (MouseEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var oncopy: (ClipboardEvent) -> dynamic?
Since Kotlin 1.1
open override var oncopy: (ClipboardEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var oncuechange: (Event) -> dynamic?
Since Kotlin 1.1
open override var oncuechange: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var oncut: (ClipboardEvent) -> dynamic?
Since Kotlin 1.1
open override var oncut: (ClipboardEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var ondblclick: (MouseEvent) -> dynamic?
Since Kotlin 1.1
open override var ondblclick: (MouseEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var ondrag: (DragEvent) -> dynamic?
Since Kotlin 1.1
open override var ondrag: (DragEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var ondragend: (DragEvent) -> dynamic?
Since Kotlin 1.1
open override var ondragend: (DragEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var ondragenter: (DragEvent) -> dynamic?
Since Kotlin 1.1
open override var ondragenter: (DragEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var ondragexit: (DragEvent) -> dynamic?
Since Kotlin 1.1
open override var ondragexit: (DragEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var ondragleave: (DragEvent) -> dynamic?
Since Kotlin 1.1
open override var ondragleave: (DragEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var ondragover: (DragEvent) -> dynamic?
Since Kotlin 1.1
open override var ondragover: (DragEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var ondragstart: (DragEvent) -> dynamic?
Since Kotlin 1.1
open override var ondragstart: (DragEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var ondrop: (DragEvent) -> dynamic?
Since Kotlin 1.1
open override var ondrop: (DragEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var ondurationchange: (Event) -> dynamic?
Since Kotlin 1.1
open override var ondurationchange: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onemptied: (Event) -> dynamic?
Since Kotlin 1.1
open override var onemptied: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onended: (Event) -> dynamic?
Since Kotlin 1.1
open override var onended: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onerror: (dynamic, String, Int, Int, Any?) -> dynamic?
Since Kotlin 1.1
open override var onerror: (JsAny?, String, Int, Int, JsAny?) -> JsAny??
Since Kotlin 1.8
Link copied to clipboard
open override var onfocus: (FocusEvent) -> dynamic?
Since Kotlin 1.1
open override var onfocus: (FocusEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
var onfullscreenchange: (Event) -> dynamic?
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
var onfullscreenerror: (Event) -> dynamic?
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open override var ongotpointercapture: (PointerEvent) -> dynamic?
Since Kotlin 1.1
open override var ongotpointercapture: (PointerEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var oninput: (InputEvent) -> dynamic?
Since Kotlin 1.1
open override var oninput: (InputEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var oninvalid: (Event) -> dynamic?
Since Kotlin 1.1
open override var oninvalid: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onkeydown: (KeyboardEvent) -> dynamic?
Since Kotlin 1.1
open override var onkeydown: (KeyboardEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onkeypress: (KeyboardEvent) -> dynamic?
Since Kotlin 1.1
open override var onkeypress: (KeyboardEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onkeyup: (KeyboardEvent) -> dynamic?
Since Kotlin 1.1
open override var onkeyup: (KeyboardEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onload: (Event) -> dynamic?
Since Kotlin 1.1
open override var onload: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onloadeddata: (Event) -> dynamic?
Since Kotlin 1.1
open override var onloadeddata: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onloadedmetadata: (Event) -> dynamic?
Since Kotlin 1.1
open override var onloadedmetadata: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onloadend: (Event) -> dynamic?
Since Kotlin 1.1
open override var onloadend: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onloadstart: (ProgressEvent) -> dynamic?
Since Kotlin 1.1
open override var onloadstart: (ProgressEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onlostpointercapture: (PointerEvent) -> dynamic?
Since Kotlin 1.1
open override var onlostpointercapture: (PointerEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onmousedown: (MouseEvent) -> dynamic?
Since Kotlin 1.1
open override var onmousedown: (MouseEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onmouseenter: (MouseEvent) -> dynamic?
Since Kotlin 1.1
open override var onmouseenter: (MouseEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onmouseleave: (MouseEvent) -> dynamic?
Since Kotlin 1.1
open override var onmouseleave: (MouseEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onmousemove: (MouseEvent) -> dynamic?
Since Kotlin 1.1
open override var onmousemove: (MouseEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onmouseout: (MouseEvent) -> dynamic?
Since Kotlin 1.1
open override var onmouseout: (MouseEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onmouseover: (MouseEvent) -> dynamic?
Since Kotlin 1.1
open override var onmouseover: (MouseEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onmouseup: (MouseEvent) -> dynamic?
Since Kotlin 1.1
open override var onmouseup: (MouseEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onpaste: (ClipboardEvent) -> dynamic?
Since Kotlin 1.1
open override var onpaste: (ClipboardEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onpause: (Event) -> dynamic?
Since Kotlin 1.1
open override var onpause: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onplay: (Event) -> dynamic?
Since Kotlin 1.1
open override var onplay: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onplaying: (Event) -> dynamic?
Since Kotlin 1.1
open override var onplaying: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onpointercancel: (PointerEvent) -> dynamic?
Since Kotlin 1.1
open override var onpointercancel: (PointerEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onpointerdown: (PointerEvent) -> dynamic?
Since Kotlin 1.1
open override var onpointerdown: (PointerEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onpointerenter: (PointerEvent) -> dynamic?
Since Kotlin 1.1
open override var onpointerenter: (PointerEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onpointerleave: (PointerEvent) -> dynamic?
Since Kotlin 1.1
open override var onpointerleave: (PointerEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onpointermove: (PointerEvent) -> dynamic?
Since Kotlin 1.1
open override var onpointermove: (PointerEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onpointerout: (PointerEvent) -> dynamic?
Since Kotlin 1.1
open override var onpointerout: (PointerEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onpointerover: (PointerEvent) -> dynamic?
Since Kotlin 1.1
open override var onpointerover: (PointerEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onpointerup: (PointerEvent) -> dynamic?
Since Kotlin 1.1
open override var onpointerup: (PointerEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onprogress: (ProgressEvent) -> dynamic?
Since Kotlin 1.1
open override var onprogress: (ProgressEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onratechange: (Event) -> dynamic?
Since Kotlin 1.1
open override var onratechange: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
var onreadystatechange: (Event) -> dynamic?
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open override var onreset: (Event) -> dynamic?
Since Kotlin 1.1
open override var onreset: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onresize: (Event) -> dynamic?
Since Kotlin 1.1
open override var onresize: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onscroll: (Event) -> dynamic?
Since Kotlin 1.1
open override var onscroll: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onseeked: (Event) -> dynamic?
Since Kotlin 1.1
open override var onseeked: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onseeking: (Event) -> dynamic?
Since Kotlin 1.1
open override var onseeking: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onselect: (Event) -> dynamic?
Since Kotlin 1.1
open override var onselect: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onshow: (Event) -> dynamic?
Since Kotlin 1.1
open override var onshow: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onstalled: (Event) -> dynamic?
Since Kotlin 1.1
open override var onstalled: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onsubmit: (Event) -> dynamic?
Since Kotlin 1.1
open override var onsubmit: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onsuspend: (Event) -> dynamic?
Since Kotlin 1.1
open override var onsuspend: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var ontimeupdate: (Event) -> dynamic?
Since Kotlin 1.1
open override var ontimeupdate: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var ontoggle: (Event) -> dynamic?
Since Kotlin 1.1
open override var ontoggle: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onvolumechange: (Event) -> dynamic?
Since Kotlin 1.1
open override var onvolumechange: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onwaiting: (Event) -> dynamic?
Since Kotlin 1.1
open override var onwaiting: (Event) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open override var onwheel: (WheelEvent) -> dynamic?
Since Kotlin 1.1
open override var onwheel: (WheelEvent) -> Unit?
Since Kotlin 1.8
Link copied to clipboard
open val origin: String
Since Kotlin 1.1
open val origin: 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
open val parentNode: Node?
Since Kotlin 1.1
open val parentNode: Node?
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
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open val referrer: String
Since Kotlin 1.1
open val referrer: 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
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 var textContent: String?
Since Kotlin 1.1
open var textContent: String?
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open val URL: String
Since Kotlin 1.1
open val URL: String
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
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 adoptNode(node: Node): Node
Since Kotlin 1.1
fun adoptNode(node: Node): Node
Since Kotlin 1.8
Link copied to clipboard
open override fun append(vararg nodes: dynamic)
Since Kotlin 1.1
open override fun append(vararg nodes: String)
open override fun append(vararg nodes: Node)
Since Kotlin 1.8
Link copied to clipboard
fun appendChild(node: Node): Node
Since Kotlin 1.1
fun appendChild(node: Node): Node
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
fun clear()
Since Kotlin 1.1
fun clear()
Since Kotlin 1.8
Link copied to clipboard
inline fun Node.clear()

Removes all the children from this node.

Since Kotlin 1.1
fun Node.clear()

Removes all the children from this node.

Since Kotlin 1.4
fun Node.clear()

Removes all the children from this node.

Since Kotlin 1.8
Link copied to clipboard
fun cloneNode(deep: Boolean = definedExternally): Node
Since Kotlin 1.1
fun cloneNode(deep: Boolean = definedExternally): Node
Since Kotlin 1.8
Link copied to clipboard
fun close()
Since Kotlin 1.1
fun close()
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
fun contains(other: Node?): Boolean
Since Kotlin 1.1
fun contains(other: Node?): Boolean
Since Kotlin 1.8
Link copied to clipboard
open override fun convertPointFromNode(point: DOMPointInit, from: dynamic, options: ConvertCoordinateOptions): DOMPoint
Since Kotlin 1.1
open override fun convertPointFromNode(point: DOMPointInit, from: Document, options: ConvertCoordinateOptions): DOMPoint
open override fun convertPointFromNode(point: DOMPointInit, from: Element, options: ConvertCoordinateOptions): DOMPoint
open override fun convertPointFromNode(point: DOMPointInit, from: Text, options: ConvertCoordinateOptions): DOMPoint
Since Kotlin 1.8
Link copied to clipboard
open override fun convertQuadFromNode(quad: dynamic, from: dynamic, options: ConvertCoordinateOptions): DOMQuad
Since Kotlin 1.1
open override fun convertQuadFromNode(quad: JsAny?, from: Document, options: ConvertCoordinateOptions): DOMQuad
open override fun convertQuadFromNode(quad: JsAny?, from: Element, options: ConvertCoordinateOptions): DOMQuad
open override fun convertQuadFromNode(quad: JsAny?, from: Text, options: ConvertCoordinateOptions): DOMQuad
Since Kotlin 1.8
Link copied to clipboard
open override fun convertRectFromNode(rect: DOMRectReadOnly, from: dynamic, options: ConvertCoordinateOptions): DOMQuad
Since Kotlin 1.1
open override fun convertRectFromNode(rect: DOMRectReadOnly, from: Text, options: ConvertCoordinateOptions): DOMQuad
Since Kotlin 1.8
Link copied to clipboard
fun createAttribute(localName: String): Attr
Since Kotlin 1.1
fun createAttribute(localName: String): Attr
Since Kotlin 1.8
Link copied to clipboard
fun createAttributeNS(namespace: String?, qualifiedName: String): Attr
Since Kotlin 1.1
fun createAttributeNS(namespace: String?, qualifiedName: String): Attr
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
Link copied to clipboard
fun createElement(localName: String, options: ElementCreationOptions = definedExternally): Element
Since Kotlin 1.1
fun createElement(localName: String, options: ElementCreationOptions = definedExternally): Element
Since Kotlin 1.8
Link copied to clipboard
inline fun Document.createElement(name: String, noinline init: Element.() -> Unit): Element

Creates a new element with the specified name.

Since Kotlin 1.1
fun Document.createElement(name: String, init: Element.() -> Unit): Element

Creates a new element with the specified name.

Since Kotlin 1.4
fun Document.createElement(name: String, init: Element.() -> Unit): Element

Creates a new element with the specified name.

Since Kotlin 1.8
Link copied to clipboard
fun createElementNS(namespace: String?, qualifiedName: String, options: ElementCreationOptions = definedExternally): Element
Since Kotlin 1.1
fun createElementNS(namespace: String?, qualifiedName: String, options: ElementCreationOptions = definedExternally): Element
Since Kotlin 1.8
Link copied to clipboard
fun createEvent(interface: String): Event
Since Kotlin 1.1
fun createEvent(param_interface: String): Event
Since Kotlin 1.8
Link copied to clipboard
fun createNodeIterator(root: Node, whatToShow: Int = definedExternally, filter: (Node) -> Short? = definedExternally): NodeIterator
fun createNodeIterator(root: Node, whatToShow: Int = definedExternally, filter: NodeFilter? = definedExternally): NodeIterator
Since Kotlin 1.1
fun createNodeIterator(root: Node, whatToShow: Int = definedExternally, filter: (Node) -> Short? = definedExternally): NodeIterator
fun createNodeIterator(root: Node, whatToShow: Int = definedExternally, filter: NodeFilter? = definedExternally): NodeIterator
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
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
fun createTouch(view: Window, target: EventTarget, identifier: Int, pageX: Int, pageY: Int, screenX: Int, screenY: Int): Touch
Since Kotlin 1.1
fun createTouch(view: Window, target: EventTarget, identifier: Int, pageX: Int, pageY: Int, screenX: Int, screenY: Int): Touch
Since Kotlin 1.8
Link copied to clipboard
fun createTouchList(vararg touches: Touch): TouchList
Since Kotlin 1.1
fun createTouchList(vararg touches: Touch): TouchList
Since Kotlin 1.8
Link copied to clipboard
fun createTreeWalker(root: Node, whatToShow: Int = definedExternally, filter: (Node) -> Short? = definedExternally): TreeWalker
fun createTreeWalker(root: Node, whatToShow: Int = definedExternally, filter: NodeFilter? = definedExternally): TreeWalker
Since Kotlin 1.1
fun createTreeWalker(root: Node, whatToShow: Int = definedExternally, filter: (Node) -> Short? = definedExternally): TreeWalker
fun createTreeWalker(root: Node, whatToShow: Int = definedExternally, filter: NodeFilter? = definedExternally): TreeWalker
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
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
fun execCommand(commandId: String, showUI: Boolean = definedExternally, value: String = definedExternally): Boolean
Since Kotlin 1.1
fun execCommand(commandId: String, showUI: Boolean = definedExternally, value: String = definedExternally): Boolean
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
inline operator fun Document.get(name: String): dynamic
Since Kotlin 1.1
operator fun Document.get(name: String): JsAny?
Since Kotlin 1.8
Link copied to clipboard
open override fun getBoxQuads(options: BoxQuadOptions): Array<DOMQuad>
Since Kotlin 1.1
open override fun getBoxQuads(options: BoxQuadOptions): JsArray<DOMQuad>
Since Kotlin 1.8
Link copied to clipboard
open override fun getElementById(elementId: String): Element?
Since Kotlin 1.1
open override fun getElementById(elementId: String): Element?
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
fun getElementsByName(elementName: String): NodeList
Since Kotlin 1.1
fun getElementsByName(elementName: String): NodeList
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
fun getElementsByTagNameNS(namespace: String?, localName: String): HTMLCollection
Since Kotlin 1.1
fun getElementsByTagNameNS(namespace: String?, localName: String): HTMLCollection
Since Kotlin 1.8
Link copied to clipboard
fun getRootNode(options: GetRootNodeOptions = definedExternally): Node
Since Kotlin 1.1
fun getRootNode(options: GetRootNodeOptions = definedExternally): Node
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
fun importNode(node: Node, deep: Boolean = definedExternally): Node
Since Kotlin 1.1
fun importNode(node: Node, deep: Boolean = definedExternally): Node
Since Kotlin 1.8
Link copied to clipboard
fun insertBefore(node: Node, child: Node?): Node
Since Kotlin 1.1
fun insertBefore(node: Node, child: Node?): Node
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
fun isEqualNode(otherNode: Node?): Boolean
Since Kotlin 1.1
fun isEqualNode(otherNode: Node?): Boolean
Since Kotlin 1.8
Link copied to clipboard
fun isSameNode(otherNode: Node?): Boolean
Since Kotlin 1.1
fun isSameNode(otherNode: Node?): Boolean
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
fun lookupPrefix(namespace: String?): String?
Since Kotlin 1.1
fun lookupPrefix(namespace: String?): String?
Since Kotlin 1.8
Link copied to clipboard
fun normalize()
Since Kotlin 1.1
fun normalize()
Since Kotlin 1.8
Link copied to clipboard
fun open(type: String = definedExternally, replace: String = definedExternally): Document
fun open(url: String, name: String, features: String): Window
Since Kotlin 1.1
fun open(type: String = definedExternally, replace: String = definedExternally): Document
fun open(url: String, name: String, features: String): Window
Since Kotlin 1.8
Link copied to clipboard
open override fun prepend(vararg nodes: dynamic)
Since Kotlin 1.1
open override fun prepend(vararg nodes: String)
open override fun prepend(vararg nodes: Node)
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
Since Kotlin 1.1
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 override fun querySelector(selectors: String): Element?
Since Kotlin 1.1
open override fun querySelector(selectors: String): Element?
Since Kotlin 1.8
Link copied to clipboard
open override fun querySelectorAll(selectors: String): NodeList
Since Kotlin 1.1
open override fun querySelectorAll(selectors: String): NodeList
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
fun removeChild(child: Node): Node
Since Kotlin 1.1
fun removeChild(child: Node): Node
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 replaceChild(node: Node, child: Node): Node
Since Kotlin 1.1
fun replaceChild(node: Node, child: Node): Node
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
Link copied to clipboard
fun write(vararg text: String)
Since Kotlin 1.1
fun write(vararg text: String)
Since Kotlin 1.8
Link copied to clipboard
fun writeln(vararg text: String)
Since Kotlin 1.1
fun writeln(vararg text: String)
Since Kotlin 1.8