HTMLElement

JS
1.1
abstract class HTMLElement : 
    Element,
    ElementCSSInlineStyle,
    GlobalEventHandlers,
    DocumentAndElementEventHandlers,
    ElementContentEditable

Exposes the JavaScript HTMLElement to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript HTMLElement to Kotlin

HTMLElement()

Properties

JS
1.1

accessKey

open var accessKey: String
JS
1.1

accessKeyLabel

open val accessKeyLabel: String
JS
1.1

contextMenu

open var contextMenu: HTMLMenuElement?
JS
1.1

dataset

open val dataset: DOMStringMap
JS
1.1

dir

open var dir: String
JS
1.1

draggable

open var draggable: Boolean
JS
1.1

dropzone

open val dropzone: DOMTokenList
JS
1.1

hidden

open var hidden: Boolean
JS
1.1

innerText

open var innerText: String
JS
1.1

lang

open var lang: String
JS
1.1

offsetHeight

open val offsetHeight: Int
JS
1.1

offsetLeft

open val offsetLeft: Int
JS
1.1

offsetParent

open val offsetParent: Element?
JS
1.1

offsetTop

open val offsetTop: Int
JS
1.1

offsetWidth

open val offsetWidth: Int
JS
1.1

spellcheck

open var spellcheck: Boolean
JS
1.1

tabIndex

open var tabIndex: Int
JS
1.1

title

open var title: String
JS
1.1

translate

open var translate: Boolean

Functions

JS
1.1

blur

fun blur()
JS
1.1

click

fun click()
JS
1.1

focus

fun focus()
JS
1.1

forceSpellCheck

fun forceSpellCheck()

Extension Properties

JS
1.1

isElement

Gets a value indicating whether this node is an Element.

val Node.isElement: Boolean
JS
1.1

isText

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

val Node.isText: Boolean

Extension Functions

JS
1.1

addClass

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

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

appendElement

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

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

appendText

Creates text node and append it to the element.

fun Element.appendText(text: String): Element
JS
1.1

clear

Removes all the children from this node.

fun Node.clear()
JS
1.1

hasClass

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

fun Element.hasClass(cssClass: String): Boolean
JS
1.1

removeClass

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

fun Element.removeClass(vararg cssClasses: String): Boolean

Inheritors

JS
1.1

HTMLAnchorElement

Exposes the JavaScript HTMLAnchorElement to Kotlin

abstract class HTMLAnchorElement : 
    HTMLElement,
    HTMLHyperlinkElementUtils
JS
1.1

HTMLAppletElement

abstract class HTMLAppletElement : HTMLElement
JS
1.1

HTMLAreaElement

Exposes the JavaScript HTMLAreaElement to Kotlin

abstract class HTMLAreaElement : 
    HTMLElement,
    HTMLHyperlinkElementUtils
JS
1.1

HTMLBaseElement

Exposes the JavaScript HTMLBaseElement to Kotlin

abstract class HTMLBaseElement : HTMLElement
JS
1.1

HTMLBodyElement

Exposes the JavaScript HTMLBodyElement to Kotlin

abstract class HTMLBodyElement : 
    HTMLElement,
    WindowEventHandlers
JS
1.1

HTMLBRElement

Exposes the JavaScript HTMLBRElement to Kotlin

abstract class HTMLBRElement : HTMLElement
JS
1.1

HTMLButtonElement

Exposes the JavaScript HTMLButtonElement to Kotlin

abstract class HTMLButtonElement : HTMLElement
JS
1.1

HTMLCanvasElement

Exposes the JavaScript HTMLCanvasElement to Kotlin

abstract class HTMLCanvasElement : 
    HTMLElement,
    TexImageSource
JS
1.1

HTMLDataElement

Exposes the JavaScript HTMLDataElement to Kotlin

abstract class HTMLDataElement : HTMLElement
JS
1.1

HTMLDataListElement

Exposes the JavaScript HTMLDataListElement to Kotlin

abstract class HTMLDataListElement : HTMLElement
JS
1.1

HTMLDetailsElement

Exposes the JavaScript HTMLDetailsElement to Kotlin

abstract class HTMLDetailsElement : HTMLElement
JS
1.1

HTMLDialogElement

Exposes the JavaScript HTMLDialogElement to Kotlin

abstract class HTMLDialogElement : HTMLElement
JS
1.1

HTMLDirectoryElement

abstract class HTMLDirectoryElement : HTMLElement
JS
1.1

HTMLDivElement

Exposes the JavaScript HTMLDivElement to Kotlin

abstract class HTMLDivElement : HTMLElement
JS
1.1

HTMLDListElement

Exposes the JavaScript HTMLDListElement to Kotlin

abstract class HTMLDListElement : HTMLElement
JS
1.1

HTMLEmbedElement

Exposes the JavaScript HTMLEmbedElement to Kotlin

abstract class HTMLEmbedElement : HTMLElement
JS
1.1

HTMLFieldSetElement

Exposes the JavaScript HTMLFieldSetElement to Kotlin

abstract class HTMLFieldSetElement : HTMLElement
JS
1.1

HTMLFontElement

Exposes the JavaScript HTMLFontElement to Kotlin

abstract class HTMLFontElement : HTMLElement
JS
1.1

HTMLFormElement

Exposes the JavaScript HTMLFormElement to Kotlin

abstract class HTMLFormElement : HTMLElement
JS
1.1

HTMLFrameElement

abstract class HTMLFrameElement : HTMLElement
JS
1.1

HTMLFrameSetElement

Exposes the JavaScript HTMLFrameSetElement to Kotlin

abstract class HTMLFrameSetElement : 
    HTMLElement,
    WindowEventHandlers
JS
1.1

HTMLHeadElement

Exposes the JavaScript HTMLHeadElement to Kotlin

abstract class HTMLHeadElement : HTMLElement
JS
1.1

HTMLHeadingElement

Exposes the JavaScript HTMLHeadingElement to Kotlin

abstract class HTMLHeadingElement : HTMLElement
JS
1.1

HTMLHRElement

Exposes the JavaScript HTMLHRElement to Kotlin

abstract class HTMLHRElement : HTMLElement
JS
1.1

HTMLHtmlElement

Exposes the JavaScript HTMLHtmlElement to Kotlin

abstract class HTMLHtmlElement : HTMLElement
JS
1.1

HTMLIFrameElement

Exposes the JavaScript HTMLIFrameElement to Kotlin

abstract class HTMLIFrameElement : HTMLElement
JS
1.1

HTMLImageElement

Exposes the JavaScript HTMLImageElement to Kotlin

abstract class HTMLImageElement : 
    HTMLElement,
    TexImageSource,
    HTMLOrSVGImageElement
JS
1.1

HTMLInputElement

Exposes the JavaScript HTMLInputElement to Kotlin

abstract class HTMLInputElement : HTMLElement
JS
1.1

HTMLKeygenElement

Exposes the JavaScript HTMLKeygenElement to Kotlin

abstract class HTMLKeygenElement : HTMLElement
JS
1.1

HTMLLabelElement

Exposes the JavaScript HTMLLabelElement to Kotlin

abstract class HTMLLabelElement : HTMLElement
JS
1.1

HTMLLegendElement

Exposes the JavaScript HTMLLegendElement to Kotlin

abstract class HTMLLegendElement : HTMLElement
JS
1.1

HTMLLIElement

Exposes the JavaScript HTMLLIElement to Kotlin

abstract class HTMLLIElement : HTMLElement
JS
1.1

HTMLLinkElement

Exposes the JavaScript HTMLLinkElement to Kotlin

abstract class HTMLLinkElement : HTMLElement, LinkStyle
JS
1.1

HTMLMapElement

Exposes the JavaScript HTMLMapElement to Kotlin

abstract class HTMLMapElement : HTMLElement
JS
1.1

HTMLMarqueeElement

abstract class HTMLMarqueeElement : HTMLElement
JS
1.1

HTMLMediaElement

Exposes the JavaScript HTMLMediaElement to Kotlin

abstract class HTMLMediaElement : HTMLElement
JS
1.1

HTMLMenuElement

abstract class HTMLMenuElement : HTMLElement
JS
1.1

HTMLMenuItemElement

abstract class HTMLMenuItemElement : HTMLElement
JS
1.1

HTMLMetaElement

Exposes the JavaScript HTMLMetaElement to Kotlin

abstract class HTMLMetaElement : HTMLElement
JS
1.1

HTMLMeterElement

Exposes the JavaScript HTMLMeterElement to Kotlin

abstract class HTMLMeterElement : HTMLElement
JS
1.1

HTMLModElement

Exposes the JavaScript HTMLModElement to Kotlin

abstract class HTMLModElement : HTMLElement
JS
1.1

HTMLObjectElement

Exposes the JavaScript HTMLObjectElement to Kotlin

abstract class HTMLObjectElement : HTMLElement
JS
1.1

HTMLOListElement

Exposes the JavaScript HTMLOListElement to Kotlin

abstract class HTMLOListElement : HTMLElement
JS
1.1

HTMLOptGroupElement

Exposes the JavaScript HTMLOptGroupElement to Kotlin

abstract class HTMLOptGroupElement : 
    HTMLElement,
    UnionHTMLOptGroupElementOrHTMLOptionElement
JS
1.1

HTMLOptionElement

Exposes the JavaScript HTMLOptionElement to Kotlin

abstract class HTMLOptionElement : 
    HTMLElement,
    UnionHTMLOptGroupElementOrHTMLOptionElement
JS
1.1

HTMLOutputElement

Exposes the JavaScript HTMLOutputElement to Kotlin

abstract class HTMLOutputElement : HTMLElement
JS
1.1

HTMLParagraphElement

Exposes the JavaScript HTMLParagraphElement to Kotlin

abstract class HTMLParagraphElement : HTMLElement
JS
1.1

HTMLParamElement

Exposes the JavaScript HTMLParamElement to Kotlin

abstract class HTMLParamElement : HTMLElement
JS
1.1

HTMLPictureElement

Exposes the JavaScript HTMLPictureElement to Kotlin

abstract class HTMLPictureElement : HTMLElement
JS
1.1

HTMLPreElement

Exposes the JavaScript HTMLPreElement to Kotlin

abstract class HTMLPreElement : HTMLElement
JS
1.1

HTMLProgressElement

Exposes the JavaScript HTMLProgressElement to Kotlin

abstract class HTMLProgressElement : HTMLElement
JS
1.1

HTMLQuoteElement

Exposes the JavaScript HTMLQuoteElement to Kotlin

abstract class HTMLQuoteElement : HTMLElement
JS
1.1

HTMLScriptElement

Exposes the JavaScript HTMLScriptElement to Kotlin

abstract class HTMLScriptElement : 
    HTMLElement,
    HTMLOrSVGScriptElement
JS
1.1

HTMLSelectElement

Exposes the JavaScript HTMLSelectElement to Kotlin

abstract class HTMLSelectElement : 
    HTMLElement,
    ItemArrayLike<Element>
JS
1.1

HTMLSlotElement

Exposes the JavaScript HTMLSlotElement to Kotlin

abstract class HTMLSlotElement : HTMLElement
JS
1.1

HTMLSourceElement

Exposes the JavaScript HTMLSourceElement to Kotlin

abstract class HTMLSourceElement : HTMLElement
JS
1.1

HTMLSpanElement

Exposes the JavaScript HTMLSpanElement to Kotlin

abstract class HTMLSpanElement : HTMLElement
JS
1.1

HTMLStyleElement

Exposes the JavaScript HTMLStyleElement to Kotlin

abstract class HTMLStyleElement : HTMLElement, LinkStyle
JS
1.1

HTMLTableCaptionElement

Exposes the JavaScript HTMLTableCaptionElement to Kotlin

abstract class HTMLTableCaptionElement : HTMLElement
JS
1.1

HTMLTableCellElement

Exposes the JavaScript HTMLTableCellElement to Kotlin

abstract class HTMLTableCellElement : HTMLElement
JS
1.1

HTMLTableColElement

Exposes the JavaScript HTMLTableColElement to Kotlin

abstract class HTMLTableColElement : HTMLElement
JS
1.1

HTMLTableElement

Exposes the JavaScript HTMLTableElement to Kotlin

abstract class HTMLTableElement : HTMLElement
JS
1.1

HTMLTableRowElement

Exposes the JavaScript HTMLTableRowElement to Kotlin

abstract class HTMLTableRowElement : HTMLElement
JS
1.1

HTMLTableSectionElement

Exposes the JavaScript HTMLTableSectionElement to Kotlin

abstract class HTMLTableSectionElement : HTMLElement
JS
1.1

HTMLTemplateElement

Exposes the JavaScript HTMLTemplateElement to Kotlin

abstract class HTMLTemplateElement : HTMLElement
JS
1.1

HTMLTextAreaElement

Exposes the JavaScript HTMLTextAreaElement to Kotlin

abstract class HTMLTextAreaElement : HTMLElement
JS
1.1

HTMLTimeElement

Exposes the JavaScript HTMLTimeElement to Kotlin

abstract class HTMLTimeElement : HTMLElement
JS
1.1

HTMLTitleElement

Exposes the JavaScript HTMLTitleElement to Kotlin

abstract class HTMLTitleElement : HTMLElement
JS
1.1

HTMLTrackElement

Exposes the JavaScript HTMLTrackElement to Kotlin

abstract class HTMLTrackElement : HTMLElement
JS
1.1

HTMLUListElement

Exposes the JavaScript HTMLUListElement to Kotlin

abstract class HTMLUListElement : HTMLElement
JS
1.1

HTMLUnknownElement

Exposes the JavaScript HTMLUnknownElement to Kotlin

abstract class HTMLUnknownElement : HTMLElement