HTMLMenuElement

abstract external class HTMLMenuElement : HTMLElement(source)

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
open var accessKey: 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 baseURI: String
Since Kotlin 1.1
Link copied to clipboard
abstract val childElementCount: Int
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
abstract val children: HTMLCollection
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
open var className: String
Since Kotlin 1.1
Link copied to clipboard
open val clientHeight: Int
Since Kotlin 1.1
Link copied to clipboard
open val clientLeft: Int
Since Kotlin 1.1
Link copied to clipboard
open val clientTop: Int
Since Kotlin 1.1
Link copied to clipboard
open val clientWidth: Int
Since Kotlin 1.1
Link copied to clipboard
open var compact: Boolean
Since Kotlin 1.1
Link copied to clipboard
abstract var contentEditable: 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 var dir: String
Since Kotlin 1.1
Link copied to clipboard
open var draggable: Boolean
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
Since Kotlin 1.1
Link copied to clipboard
open var hidden: Boolean
Since Kotlin 1.1
Link copied to clipboard
open var id: String
Since Kotlin 1.1
Link copied to clipboard
open var innerHTML: String
Since Kotlin 1.1
Link copied to clipboard
open var innerText: 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

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
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
Link copied to clipboard
open var label: String
Since Kotlin 1.1
Link copied to clipboard
open var lang: String
Since Kotlin 1.1
Link copied to clipboard
open val lastChild: Node?
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
open val localName: String
Since Kotlin 1.1
Link copied to clipboard
open val namespaceURI: String?
Since Kotlin 1.1
Link copied to clipboard
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 val offsetHeight: Int
Since Kotlin 1.1
Link copied to clipboard
open val offsetLeft: Int
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
open val offsetTop: Int
Since Kotlin 1.1
Link copied to clipboard
open val offsetWidth: Int
Since Kotlin 1.1
Link copied to clipboard
open var onabort: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onblur: (FocusEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var oncancel: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var oncanplay: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var oncanplaythrough: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onchange: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onclick: (MouseEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onclose: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var oncontextmenu: (MouseEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var oncopy: (ClipboardEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var oncuechange: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var oncut: (ClipboardEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var ondblclick: (MouseEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var ondrag: (DragEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var ondragend: (DragEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var ondragenter: (DragEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var ondragexit: (DragEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var ondragleave: (DragEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var ondragover: (DragEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var ondragstart: (DragEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var ondrop: (DragEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var ondurationchange: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onemptied: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onended: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onerror: (dynamic, String, Int, Int, Any?) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onfocus: (FocusEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var ongotpointercapture: (PointerEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var oninput: (InputEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var oninvalid: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onkeydown: (KeyboardEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onkeypress: (KeyboardEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onkeyup: (KeyboardEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onload: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onloadeddata: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onloadedmetadata: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onloadend: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onloadstart: (ProgressEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onlostpointercapture: (PointerEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onmousedown: (MouseEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onmouseenter: (MouseEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onmouseleave: (MouseEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onmousemove: (MouseEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onmouseout: (MouseEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onmouseover: (MouseEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onmouseup: (MouseEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onpaste: (ClipboardEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onpause: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onplay: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onplaying: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onpointercancel: (PointerEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onpointerdown: (PointerEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onpointerenter: (PointerEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onpointerleave: (PointerEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onpointermove: (PointerEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onpointerout: (PointerEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onpointerover: (PointerEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onpointerup: (PointerEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onprogress: (ProgressEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onratechange: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onreset: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onresize: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onscroll: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onseeked: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onseeking: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onselect: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onshow: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onstalled: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onsubmit: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onsuspend: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var ontimeupdate: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var ontoggle: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onvolumechange: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onwaiting: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onwheel: (WheelEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var outerHTML: 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
open val prefix: 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 scrollHeight: Int
Since Kotlin 1.1
Link copied to clipboard
open var scrollLeft: Double
Since Kotlin 1.1
Link copied to clipboard
open var scrollTop: Double
Since Kotlin 1.1
Link copied to clipboard
open val scrollWidth: Int
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
open var slot: 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 var tabIndex: Int
Since Kotlin 1.1
Link copied to clipboard
open val tagName: String
Since Kotlin 1.1
Link copied to clipboard
open var textContent: String?
Since Kotlin 1.1
Link copied to clipboard
open var title: String
Since Kotlin 1.1
Link copied to clipboard
open var translate: Boolean
Since Kotlin 1.1
Link copied to clipboard
open var type: String
Since Kotlin 1.1

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
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
abstract fun after(vararg nodes: dynamic)
Since Kotlin 1.1
Link copied to clipboard
abstract 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
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
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
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
abstract fun before(vararg nodes: dynamic)
Since Kotlin 1.1
Link copied to clipboard
fun blur()
Since Kotlin 1.1
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
Link copied to clipboard
fun click()
Since Kotlin 1.1
Link copied to clipboard
fun cloneNode(deep: Boolean = definedExternally): Node
Since Kotlin 1.1
Link copied to clipboard
fun closest(selectors: String): Element?
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
abstract fun convertPointFromNode(point: DOMPointInit, from: dynamic, options: ConvertCoordinateOptions = definedExternally): DOMPoint
Since Kotlin 1.1
Link copied to clipboard
abstract fun convertQuadFromNode(quad: dynamic, from: dynamic, options: ConvertCoordinateOptions = definedExternally): DOMQuad
Since Kotlin 1.1
Link copied to clipboard
abstract fun convertRectFromNode(rect: DOMRectReadOnly, from: dynamic, options: ConvertCoordinateOptions = definedExternally): DOMQuad
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
fun focus()
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
fun getAttribute(qualifiedName: String): String?
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
fun getAttributeNode(qualifiedName: String): Attr?
Since Kotlin 1.1
Link copied to clipboard
fun getAttributeNodeNS(namespace: String?, localName: String): Attr?
Since Kotlin 1.1
Link copied to clipboard
fun getAttributeNS(namespace: String?, localName: String): String?
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
abstract fun getBoxQuads(options: BoxQuadOptions = definedExternally): Array<DOMQuad>
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 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
fun hasAttribute(qualifiedName: String): Boolean
Since Kotlin 1.1
Link copied to clipboard
fun hasAttributeNS(namespace: String?, localName: String): Boolean
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
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
Link copied to clipboard
fun hasPointerCapture(pointerId: Int): Boolean
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
fun insertAdjacentHTML(position: String, text: String)
Since Kotlin 1.1
Link copied to clipboard
fun insertAdjacentText(where: String, data: String)
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 matches(selectors: String): Boolean
Since Kotlin 1.1
Link copied to clipboard
fun normalize()
Since Kotlin 1.1
Link copied to clipboard
abstract fun prepend(vararg nodes: dynamic)
Since Kotlin 1.1
Link copied to clipboard
abstract fun querySelector(selectors: String): Element?
Since Kotlin 1.1
Link copied to clipboard
abstract fun querySelectorAll(selectors: String): NodeList
Since Kotlin 1.1
Link copied to clipboard
fun releasePointerCapture(pointerId: Int)
Since Kotlin 1.1
Link copied to clipboard
abstract fun remove()
Since Kotlin 1.1
Link copied to clipboard
fun removeAttribute(qualifiedName: String)
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
fun removeAttributeNS(namespace: String?, localName: String)
Since Kotlin 1.1
Link copied to clipboard
fun removeChild(child: Node): Node
Since Kotlin 1.1
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
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
abstract fun replaceWith(vararg nodes: dynamic)
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
fun scroll(options: ScrollToOptions = definedExternally)
fun scroll(x: Double, y: Double)
Since Kotlin 1.1
Link copied to clipboard
fun scrollBy(options: ScrollToOptions = definedExternally)
fun scrollBy(x: Double, y: Double)
Since Kotlin 1.1
Link copied to clipboard
fun scrollIntoView(arg: dynamic)
Since Kotlin 1.1
Link copied to clipboard
fun scrollTo(options: ScrollToOptions = definedExternally)
fun scrollTo(x: Double, y: Double)
Since Kotlin 1.1
Link copied to clipboard
fun setAttribute(qualifiedName: String, value: 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
fun setAttributeNS(namespace: String?, qualifiedName: String, value: String)
Since Kotlin 1.1
Link copied to clipboard
fun setPointerCapture(pointerId: Int)
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1