Image

open external class Image(width: Int = definedExternally, height: Int = definedExternally) : HTMLImageElement(source)

Exposes the JavaScript Image to Kotlin

Since Kotlin

1.1
open external class Image(width: Int = definedExternally, height: Int = definedExternally) : HTMLImageElement, JsAny(source)

Exposes the JavaScript Image to Kotlin

Since Kotlin

1.8

Constructors

Link copied to clipboard
constructor(width: Int = definedExternally, height: Int = definedExternally)
constructor(width: Int = definedExternally, height: Int = definedExternally)

Types

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

Properties

Link copied to clipboard
open var accessKey: String
Since Kotlin 1.1
open var accessKey: String
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var align: String
Since Kotlin 1.1
open var align: String
Since Kotlin 1.8
Link copied to clipboard
open var alt: String
Since Kotlin 1.1
open var alt: String
Since Kotlin 1.8
Link copied to clipboard
open override val assignedSlot: HTMLSlotElement?
Since Kotlin 1.1
open override val assignedSlot: HTMLSlotElement?
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
open var border: String
Since Kotlin 1.1
open var border: 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
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var className: String
Since Kotlin 1.1
open var className: String
Since Kotlin 1.8
Link copied to clipboard
open val clientHeight: Int
Since Kotlin 1.1
open val clientHeight: Int
Since Kotlin 1.8
Link copied to clipboard
open val clientLeft: Int
Since Kotlin 1.1
open val clientLeft: Int
Since Kotlin 1.8
Link copied to clipboard
open val clientTop: Int
Since Kotlin 1.1
open val clientTop: Int
Since Kotlin 1.8
Link copied to clipboard
open val clientWidth: Int
Since Kotlin 1.1
open val clientWidth: Int
Since Kotlin 1.8
Link copied to clipboard
open val complete: Boolean
Since Kotlin 1.1
open val complete: Boolean
Since Kotlin 1.8
Link copied to clipboard
open override var contentEditable: String
Since Kotlin 1.1
open override var contentEditable: String
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var crossOrigin: String?
Since Kotlin 1.1
open var crossOrigin: String?
Since Kotlin 1.8
Link copied to clipboard
open val currentSrc: String
Since Kotlin 1.1
open val currentSrc: String
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var dir: String
Since Kotlin 1.1
open var dir: String
Since Kotlin 1.8
Link copied to clipboard
open var draggable: Boolean
Since Kotlin 1.1
open var draggable: Boolean
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
open var height: Int
Since Kotlin 1.1
open var height: Int
Since Kotlin 1.8
Link copied to clipboard
open var hidden: Boolean
Since Kotlin 1.1
open var hidden: Boolean
Since Kotlin 1.8
Link copied to clipboard
open var hspace: Int
Since Kotlin 1.1
open var hspace: Int
Since Kotlin 1.8
Link copied to clipboard
open var id: String
Since Kotlin 1.1
open var id: String
Since Kotlin 1.8
Link copied to clipboard
open var innerHTML: String
Since Kotlin 1.1
open var innerHTML: String
Since Kotlin 1.8
Link copied to clipboard
open var innerText: String
Since Kotlin 1.1
open var innerText: String
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open override val isContentEditable: Boolean
Since Kotlin 1.1
open override val isContentEditable: Boolean
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
open var isMap: Boolean
Since Kotlin 1.1
open var isMap: Boolean
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 var lang: String
Since Kotlin 1.1
open var lang: String
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
open val localName: String
Since Kotlin 1.1
open val localName: String
Since Kotlin 1.8
Link copied to clipboard
open var longDesc: String
Since Kotlin 1.1
open var longDesc: String
Since Kotlin 1.8
Link copied to clipboard
open var lowsrc: String
Since Kotlin 1.1
open var lowsrc: String
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
open val namespaceURI: String?
Since Kotlin 1.1
open val namespaceURI: String?
Since Kotlin 1.8
Link copied to clipboard
open val naturalHeight: Int
Since Kotlin 1.1
open val naturalHeight: Int
Since Kotlin 1.8
Link copied to clipboard
open val naturalWidth: Int
Since Kotlin 1.1
open val naturalWidth: Int
Since Kotlin 1.8
Link copied to clipboard
open override val nextElementSibling: Element?
Since Kotlin 1.1
open override val nextElementSibling: Element?
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 val offsetHeight: Int
Since Kotlin 1.1
open val offsetHeight: Int
Since Kotlin 1.8
Link copied to clipboard
open val offsetLeft: Int
Since Kotlin 1.1
open val offsetLeft: Int
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open val offsetTop: Int
Since Kotlin 1.1
open val offsetTop: Int
Since Kotlin 1.8
Link copied to clipboard
open val offsetWidth: Int
Since Kotlin 1.1
open val offsetWidth: Int
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
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
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 var outerHTML: String
Since Kotlin 1.1
open var outerHTML: 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
open val prefix: String?
Since Kotlin 1.1
open val prefix: String?
Since Kotlin 1.8
Link copied to clipboard
open override val previousElementSibling: Element?
Since Kotlin 1.1
open override val previousElementSibling: 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 val scrollHeight: Int
Since Kotlin 1.1
open val scrollHeight: Int
Since Kotlin 1.8
Link copied to clipboard
open var scrollLeft: Double
Since Kotlin 1.1
open var scrollLeft: Double
Since Kotlin 1.8
Link copied to clipboard
open var scrollTop: Double
Since Kotlin 1.1
open var scrollTop: Double
Since Kotlin 1.8
Link copied to clipboard
open val scrollWidth: Int
Since Kotlin 1.1
open val scrollWidth: Int
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var sizes: String
Since Kotlin 1.1
open var sizes: String
Since Kotlin 1.8
Link copied to clipboard
open var slot: String
Since Kotlin 1.1
open var slot: String
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var src: String
Since Kotlin 1.1
open var src: String
Since Kotlin 1.8
Link copied to clipboard
open var srcset: String
Since Kotlin 1.1
open var srcset: String
Since Kotlin 1.8
Link copied to clipboard
open override val style: CSSStyleDeclaration
Since Kotlin 1.1
open override val style: CSSStyleDeclaration
Since Kotlin 1.8
Link copied to clipboard
open var tabIndex: Int
Since Kotlin 1.1
open var tabIndex: Int
Since Kotlin 1.8
Link copied to clipboard
open val tagName: String
Since Kotlin 1.1
open val tagName: String
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
open var title: String
Since Kotlin 1.1
open var title: String
Since Kotlin 1.8
Link copied to clipboard
open var translate: Boolean
Since Kotlin 1.1
open var translate: Boolean
Since Kotlin 1.8
Link copied to clipboard
open var useMap: String
Since Kotlin 1.1
open var useMap: String
Since Kotlin 1.8
Link copied to clipboard
open var vspace: Int
Since Kotlin 1.1
open var vspace: Int
Since Kotlin 1.8
Link copied to clipboard
open var width: Int
Since Kotlin 1.1
open var width: Int
Since Kotlin 1.8
Link copied to clipboard
open val x: Int
Since Kotlin 1.1
open val x: Int
Since Kotlin 1.8
Link copied to clipboard
open val y: Int
Since Kotlin 1.1
open val y: Int
Since Kotlin 1.8

Functions

Link copied to clipboard
inline fun Element.addClass(vararg cssClasses: String): Boolean

Adds CSS class to element. Has no effect if all specified classes are already in class attribute of the element

Since Kotlin 1.1
fun Element.addClass(vararg cssClasses: String): Boolean

Adds CSS class to element. Has no effect if all specified classes are already in class attribute of the element

Since Kotlin 1.4
fun Element.addClass(vararg cssClasses: String): Boolean

Adds CSS class to element. Has no effect if all specified classes are already in class attribute of the element

Since Kotlin 1.8
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
open override fun after(vararg nodes: dynamic)
Since Kotlin 1.1
open override fun after(vararg nodes: String)
open override fun after(vararg nodes: 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
inline fun Element.appendElement(name: String, noinline init: Element.() -> Unit): Element

Appends a newly created element with the specified name to this element.

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

Appends a newly created element with the specified name to this element.

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

Appends a newly created element with the specified name to this element.

Since Kotlin 1.8
Link copied to clipboard
inline fun Element.appendText(text: String): Element

Creates text node and append it to the element.

Since Kotlin 1.1

Creates text node and append it to the element.

Since Kotlin 1.4

Creates text node and append it to the element.

Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open override fun before(vararg nodes: dynamic)
Since Kotlin 1.1
open override fun before(vararg nodes: String)
open override fun before(vararg nodes: Node)
Since Kotlin 1.8
Link copied to clipboard
fun blur()
Since Kotlin 1.1
fun blur()
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 click()
Since Kotlin 1.1
fun click()
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 closest(selectors: String): Element?
Since Kotlin 1.1
fun closest(selectors: String): Element?
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
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
fun focus()
Since Kotlin 1.1
fun focus()
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
fun getAttribute(qualifiedName: String): String?
Since Kotlin 1.1
fun getAttribute(qualifiedName: String): String?
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
fun getAttributeNode(qualifiedName: String): Attr?
Since Kotlin 1.1
fun getAttributeNode(qualifiedName: String): Attr?
Since Kotlin 1.8
Link copied to clipboard
fun getAttributeNodeNS(namespace: String?, localName: String): Attr?
Since Kotlin 1.1
fun getAttributeNodeNS(namespace: String?, localName: String): Attr?
Since Kotlin 1.8
Link copied to clipboard
fun getAttributeNS(namespace: String?, localName: String): String?
Since Kotlin 1.1
fun getAttributeNS(namespace: String?, localName: String): String?
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
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
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 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
fun hasAttribute(qualifiedName: String): Boolean
Since Kotlin 1.1
fun hasAttribute(qualifiedName: String): Boolean
Since Kotlin 1.8
Link copied to clipboard
fun hasAttributeNS(namespace: String?, localName: String): Boolean
Since Kotlin 1.1
fun hasAttributeNS(namespace: String?, localName: String): 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
inline fun Element.hasClass(cssClass: String): Boolean

Returns true if the element has the given CSS class style in its 'class' attribute

Since Kotlin 1.1
fun Element.hasClass(cssClass: String): Boolean

Returns true if the element has the given CSS class style in its 'class' attribute

Since Kotlin 1.4
fun Element.hasClass(cssClass: String): Boolean

Returns true if the element has the given CSS class style in its 'class' attribute

Since Kotlin 1.8
Link copied to clipboard
fun hasPointerCapture(pointerId: Int): Boolean
Since Kotlin 1.1
fun hasPointerCapture(pointerId: Int): Boolean
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
fun insertAdjacentHTML(position: String, text: String)
Since Kotlin 1.1
fun insertAdjacentHTML(position: String, text: String)
Since Kotlin 1.8
Link copied to clipboard
fun insertAdjacentText(where: String, data: String)
Since Kotlin 1.1
fun insertAdjacentText(where: String, data: String)
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 matches(selectors: String): Boolean
Since Kotlin 1.1
fun matches(selectors: String): Boolean
Since Kotlin 1.8
Link copied to clipboard
fun normalize()
Since Kotlin 1.1
fun normalize()
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
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
fun releasePointerCapture(pointerId: Int)
Since Kotlin 1.1
fun releasePointerCapture(pointerId: Int)
Since Kotlin 1.8
Link copied to clipboard
open override fun remove()
Since Kotlin 1.1
open override fun remove()
Since Kotlin 1.8
Link copied to clipboard
fun removeAttribute(qualifiedName: String)
Since Kotlin 1.1
fun removeAttribute(qualifiedName: String)
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
fun removeAttributeNS(namespace: String?, localName: String)
Since Kotlin 1.1
fun removeAttributeNS(namespace: String?, localName: String)
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
inline fun Element.removeClass(vararg cssClasses: String): Boolean

Removes all cssClasses from element. Has no effect if all specified classes are missing in class attribute of the element

Since Kotlin 1.1
fun Element.removeClass(vararg cssClasses: String): Boolean

Removes all cssClasses from element. Has no effect if all specified classes are missing in class attribute of the element

Since Kotlin 1.4
fun Element.removeClass(vararg cssClasses: String): Boolean

Removes all cssClasses from element. Has no effect if all specified classes are missing in class attribute of the element

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
open override fun replaceWith(vararg nodes: dynamic)
Since Kotlin 1.1
open override fun replaceWith(vararg nodes: String)
open override fun replaceWith(vararg nodes: Node)
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
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 scrollIntoView(arg: dynamic)
Since Kotlin 1.1
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
fun setAttribute(qualifiedName: String, value: String)
Since Kotlin 1.1
fun setAttribute(qualifiedName: String, value: 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
fun setAttributeNS(namespace: String?, qualifiedName: String, value: String)
Since Kotlin 1.1
fun setAttributeNS(namespace: String?, qualifiedName: String, value: String)
Since Kotlin 1.8
Link copied to clipboard
fun setPointerCapture(pointerId: Int)
Since Kotlin 1.1
fun setPointerCapture(pointerId: Int)
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
Since Kotlin 1.1
Since Kotlin 1.8