XMLDocument

open external class XMLDocument : Document(source)

Exposes the JavaScript XMLDocument to Kotlin

Since Kotlin

1.1

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion
Since Kotlin 1.1

Properties

Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
open val baseURI: String
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
open val charset: String
Since Kotlin 1.1
Link copied to clipboard
open override val childElementCount: Int
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
open override val children: HTMLCollection
Since Kotlin 1.1
Link copied to clipboard
open val compatMode: String
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
open val defaultView: Window?
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
var dir: String
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
open val firstChild: Node?
Since Kotlin 1.1
Link copied to clipboard
open override val firstElementChild: Element?
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
open override val fullscreenElement: Element?
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard

Gets a value indicating whether this node is an Element.

Since Kotlin 1.1
Link copied to clipboard

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

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

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
Link copied to clipboard
fun adoptNode(node: Node): Node
Since Kotlin 1.1
Link copied to clipboard
open override fun append(vararg nodes: dynamic)
Since Kotlin 1.1
Link copied to clipboard
fun appendChild(node: Node): Node
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
fun clear()
Since Kotlin 1.1
Link copied to clipboard
inline fun Node.clear()

Removes all the children from this node.

Since Kotlin 1.1
Link copied to clipboard
fun cloneNode(deep: Boolean = definedExternally): Node
Since Kotlin 1.1
Link copied to clipboard
fun close()
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
fun contains(other: Node?): Boolean
Since Kotlin 1.1
Link copied to clipboard
open override fun convertPointFromNode(point: DOMPointInit, from: dynamic, options: ConvertCoordinateOptions): DOMPoint
Since Kotlin 1.1
Link copied to clipboard
open override fun convertQuadFromNode(quad: dynamic, from: dynamic, options: ConvertCoordinateOptions): DOMQuad
Since Kotlin 1.1
Link copied to clipboard
open override fun convertRectFromNode(rect: DOMRectReadOnly, from: dynamic, options: ConvertCoordinateOptions): DOMQuad
Since Kotlin 1.1
Link copied to clipboard
fun createAttribute(localName: String): Attr
Since Kotlin 1.1
Link copied to clipboard
fun createAttributeNS(namespace: String?, qualifiedName: String): Attr
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Link copied to clipboard
fun createElement(localName: String, options: ElementCreationOptions = definedExternally): Element
Since Kotlin 1.1
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
Link copied to clipboard
fun createElementNS(namespace: String?, qualifiedName: String, options: ElementCreationOptions = definedExternally): Element
Since Kotlin 1.1
Link copied to clipboard
fun createEvent(interface: String): Event
Since Kotlin 1.1
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
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
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
Link copied to clipboard
fun createTouchList(vararg touches: Touch): TouchList
Since Kotlin 1.1
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
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
fun execCommand(commandId: String, showUI: Boolean = definedExternally, value: String = definedExternally): Boolean
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
inline operator fun Document.get(name: String): dynamic
Since Kotlin 1.1
Link copied to clipboard
open override fun getBoxQuads(options: BoxQuadOptions): Array<DOMQuad>
Since Kotlin 1.1
Link copied to clipboard
open override fun getElementById(elementId: String): Element?
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
fun getElementsByName(elementName: String): NodeList
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
fun getElementsByTagNameNS(namespace: String?, localName: String): HTMLCollection
Since Kotlin 1.1
Link copied to clipboard
fun getRootNode(options: GetRootNodeOptions = definedExternally): Node
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
fun importNode(node: Node, deep: Boolean = definedExternally): Node
Since Kotlin 1.1
Link copied to clipboard
fun insertBefore(node: Node, child: Node?): Node
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
fun isEqualNode(otherNode: Node?): Boolean
Since Kotlin 1.1
Link copied to clipboard
fun isSameNode(otherNode: Node?): Boolean
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
fun lookupPrefix(namespace: String?): String?
Since Kotlin 1.1
Link copied to clipboard
fun normalize()
Since Kotlin 1.1
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
Link copied to clipboard
open override fun prepend(vararg nodes: dynamic)
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
open override fun querySelector(selectors: String): Element?
Since Kotlin 1.1
Link copied to clipboard
open override fun querySelectorAll(selectors: String): NodeList
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
fun removeChild(child: Node): Node
Since Kotlin 1.1
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
Link copied to clipboard
fun replaceChild(node: Node, child: Node): Node
Since Kotlin 1.1
Link copied to clipboard
fun write(vararg text: String)
Since Kotlin 1.1
Link copied to clipboard
fun writeln(vararg text: String)
Since Kotlin 1.1