HTMLElement
abstract class HTMLElement :
Element,
GlobalEventHandlers,
DocumentAndElementEventHandlers,
ElementContentEditable,
ElementCSSInlineStyle
Exposes the JavaScript HTMLElement to Kotlin
Constructors
<init>
Exposes the JavaScript HTMLElement to Kotlin
HTMLElement()
Properties
accessKey
open var accessKey: String
accessKeyLabel
open val accessKeyLabel: String
contextMenu
open var contextMenu: HTMLMenuElement?
dataset
open val dataset: DOMStringMap
dir
open var dir: String
draggable
open var draggable: Boolean
dropzone
open val dropzone: DOMTokenList
hidden
open var hidden: Boolean
innerText
open var innerText: String
lang
open var lang: String
offsetHeight
open val offsetHeight: Int
offsetLeft
open val offsetLeft: Int
offsetParent
open val offsetParent: Element?
offsetTop
open val offsetTop: Int
offsetWidth
open val offsetWidth: Int
spellcheck
open var spellcheck: Boolean
tabIndex
open var tabIndex: Int
title
open var title: String
translate
open var translate: Boolean
Functions
Companion Object Properties
ATTRIBUTE_NODE
val ATTRIBUTE_NODE: Short
CDATA_SECTION_NODE
val CDATA_SECTION_NODE: Short
COMMENT_NODE
val COMMENT_NODE: Short
DOCUMENT_FRAGMENT_NODE
val DOCUMENT_FRAGMENT_NODE: Short
DOCUMENT_NODE
val DOCUMENT_NODE: Short
DOCUMENT_POSITION_CONTAINED_BY
val DOCUMENT_POSITION_CONTAINED_BY: Short
DOCUMENT_POSITION_CONTAINS
val DOCUMENT_POSITION_CONTAINS: Short
DOCUMENT_POSITION_DISCONNECTED
val DOCUMENT_POSITION_DISCONNECTED: Short
DOCUMENT_POSITION_FOLLOWING
val DOCUMENT_POSITION_FOLLOWING: Short
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
val DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: Short
DOCUMENT_POSITION_PRECEDING
val DOCUMENT_POSITION_PRECEDING: Short
DOCUMENT_TYPE_NODE
val DOCUMENT_TYPE_NODE: Short
ELEMENT_NODE
val ELEMENT_NODE: Short
ENTITY_NODE
val ENTITY_NODE: Short
ENTITY_REFERENCE_NODE
val ENTITY_REFERENCE_NODE: Short
NOTATION_NODE
val NOTATION_NODE: Short
PROCESSING_INSTRUCTION_NODE
val PROCESSING_INSTRUCTION_NODE: Short
TEXT_NODE
val TEXT_NODE: Short
Extension Properties
Extension Functions
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
hasClass
Returns true if the element has the given CSS class style in its 'class' attribute
fun Element.hasClass(cssClass: String): Boolean
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
HTMLAnchorElement
Exposes the JavaScript HTMLAnchorElement to Kotlin
abstract class HTMLAnchorElement :
HTMLElement,
HTMLHyperlinkElementUtils
HTMLAppletElement
abstract class HTMLAppletElement : HTMLElement
HTMLAreaElement
Exposes the JavaScript HTMLAreaElement to Kotlin
abstract class HTMLAreaElement :
HTMLElement,
HTMLHyperlinkElementUtils
HTMLBaseElement
Exposes the JavaScript HTMLBaseElement to Kotlin
abstract class HTMLBaseElement : HTMLElement
HTMLBodyElement
Exposes the JavaScript HTMLBodyElement to Kotlin
abstract class HTMLBodyElement :
HTMLElement,
WindowEventHandlers
HTMLBRElement
Exposes the JavaScript HTMLBRElement to Kotlin
abstract class HTMLBRElement : HTMLElement
HTMLButtonElement
Exposes the JavaScript HTMLButtonElement to Kotlin
abstract class HTMLButtonElement : HTMLElement
HTMLCanvasElement
Exposes the JavaScript HTMLCanvasElement to Kotlin
abstract class HTMLCanvasElement :
HTMLElement,
CanvasImageSource,
TexImageSource
HTMLDataElement
Exposes the JavaScript HTMLDataElement to Kotlin
abstract class HTMLDataElement : HTMLElement
HTMLDataListElement
Exposes the JavaScript HTMLDataListElement to Kotlin
abstract class HTMLDataListElement : HTMLElement
HTMLDetailsElement
Exposes the JavaScript HTMLDetailsElement to Kotlin
abstract class HTMLDetailsElement : HTMLElement
HTMLDialogElement
Exposes the JavaScript HTMLDialogElement to Kotlin
abstract class HTMLDialogElement : HTMLElement
HTMLDirectoryElement
abstract class HTMLDirectoryElement : HTMLElement
HTMLDivElement
Exposes the JavaScript HTMLDivElement to Kotlin
abstract class HTMLDivElement : HTMLElement
HTMLDListElement
Exposes the JavaScript HTMLDListElement to Kotlin
abstract class HTMLDListElement : HTMLElement
HTMLEmbedElement
Exposes the JavaScript HTMLEmbedElement to Kotlin
abstract class HTMLEmbedElement : HTMLElement
HTMLFieldSetElement
Exposes the JavaScript HTMLFieldSetElement to Kotlin
abstract class HTMLFieldSetElement : HTMLElement
HTMLFontElement
Exposes the JavaScript HTMLFontElement to Kotlin
abstract class HTMLFontElement : HTMLElement
HTMLFormElement
Exposes the JavaScript HTMLFormElement to Kotlin
abstract class HTMLFormElement : HTMLElement
HTMLFrameElement
abstract class HTMLFrameElement : HTMLElement
HTMLFrameSetElement
Exposes the JavaScript HTMLFrameSetElement to Kotlin
abstract class HTMLFrameSetElement :
HTMLElement,
WindowEventHandlers
HTMLHeadElement
Exposes the JavaScript HTMLHeadElement to Kotlin
abstract class HTMLHeadElement : HTMLElement
HTMLHeadingElement
Exposes the JavaScript HTMLHeadingElement to Kotlin
abstract class HTMLHeadingElement : HTMLElement
HTMLHRElement
Exposes the JavaScript HTMLHRElement to Kotlin
abstract class HTMLHRElement : HTMLElement
HTMLHtmlElement
Exposes the JavaScript HTMLHtmlElement to Kotlin
abstract class HTMLHtmlElement : HTMLElement
HTMLIFrameElement
Exposes the JavaScript HTMLIFrameElement to Kotlin
abstract class HTMLIFrameElement : HTMLElement
HTMLImageElement
Exposes the JavaScript HTMLImageElement to Kotlin
abstract class HTMLImageElement :
HTMLElement,
HTMLOrSVGImageElement,
TexImageSource
HTMLInputElement
Exposes the JavaScript HTMLInputElement to Kotlin
abstract class HTMLInputElement : HTMLElement
HTMLKeygenElement
Exposes the JavaScript HTMLKeygenElement to Kotlin
abstract class HTMLKeygenElement : HTMLElement
HTMLLabelElement
Exposes the JavaScript HTMLLabelElement to Kotlin
abstract class HTMLLabelElement : HTMLElement
HTMLLegendElement
Exposes the JavaScript HTMLLegendElement to Kotlin
abstract class HTMLLegendElement : HTMLElement
HTMLLIElement
Exposes the JavaScript HTMLLIElement to Kotlin
abstract class HTMLLIElement : HTMLElement
HTMLLinkElement
Exposes the JavaScript HTMLLinkElement to Kotlin
abstract class HTMLLinkElement : HTMLElement, LinkStyle
HTMLMapElement
Exposes the JavaScript HTMLMapElement to Kotlin
abstract class HTMLMapElement : HTMLElement
HTMLMarqueeElement
Exposes the JavaScript HTMLMarqueeElement to Kotlin
abstract class HTMLMarqueeElement : HTMLElement
HTMLMediaElement
Exposes the JavaScript HTMLMediaElement to Kotlin
abstract class HTMLMediaElement : HTMLElement
HTMLMenuElement
abstract class HTMLMenuElement : HTMLElement
HTMLMenuItemElement
abstract class HTMLMenuItemElement : HTMLElement
HTMLMetaElement
Exposes the JavaScript HTMLMetaElement to Kotlin
abstract class HTMLMetaElement : HTMLElement
HTMLMeterElement
Exposes the JavaScript HTMLMeterElement to Kotlin
abstract class HTMLMeterElement : HTMLElement
HTMLModElement
Exposes the JavaScript HTMLModElement to Kotlin
abstract class HTMLModElement : HTMLElement
HTMLObjectElement
Exposes the JavaScript HTMLObjectElement to Kotlin
abstract class HTMLObjectElement : HTMLElement
HTMLOListElement
Exposes the JavaScript HTMLOListElement to Kotlin
abstract class HTMLOListElement : HTMLElement
HTMLOptGroupElement
Exposes the JavaScript HTMLOptGroupElement to Kotlin
abstract class HTMLOptGroupElement :
HTMLElement,
UnionHTMLOptGroupElementOrHTMLOptionElement
HTMLOptionElement
Exposes the JavaScript HTMLOptionElement to Kotlin
abstract class HTMLOptionElement :
HTMLElement,
UnionHTMLOptGroupElementOrHTMLOptionElement
HTMLOutputElement
Exposes the JavaScript HTMLOutputElement to Kotlin
abstract class HTMLOutputElement : HTMLElement
HTMLParagraphElement
Exposes the JavaScript HTMLParagraphElement to Kotlin
abstract class HTMLParagraphElement : HTMLElement
HTMLParamElement
Exposes the JavaScript HTMLParamElement to Kotlin
abstract class HTMLParamElement : HTMLElement
HTMLPictureElement
Exposes the JavaScript HTMLPictureElement to Kotlin
abstract class HTMLPictureElement : HTMLElement
HTMLPreElement
Exposes the JavaScript HTMLPreElement to Kotlin
abstract class HTMLPreElement : HTMLElement
HTMLProgressElement
Exposes the JavaScript HTMLProgressElement to Kotlin
abstract class HTMLProgressElement : HTMLElement
HTMLQuoteElement
Exposes the JavaScript HTMLQuoteElement to Kotlin
abstract class HTMLQuoteElement : HTMLElement
HTMLScriptElement
Exposes the JavaScript HTMLScriptElement to Kotlin
abstract class HTMLScriptElement :
HTMLElement,
HTMLOrSVGScriptElement
HTMLSelectElement
Exposes the JavaScript HTMLSelectElement to Kotlin
abstract class HTMLSelectElement :
HTMLElement,
ItemArrayLike<Element>
HTMLSlotElement
Exposes the JavaScript HTMLSlotElement to Kotlin
abstract class HTMLSlotElement : HTMLElement
HTMLSourceElement
Exposes the JavaScript HTMLSourceElement to Kotlin
abstract class HTMLSourceElement : HTMLElement
HTMLSpanElement
Exposes the JavaScript HTMLSpanElement to Kotlin
abstract class HTMLSpanElement : HTMLElement
HTMLStyleElement
Exposes the JavaScript HTMLStyleElement to Kotlin
abstract class HTMLStyleElement : HTMLElement, LinkStyle
HTMLTableCaptionElement
Exposes the JavaScript HTMLTableCaptionElement to Kotlin
abstract class HTMLTableCaptionElement : HTMLElement
HTMLTableCellElement
Exposes the JavaScript HTMLTableCellElement to Kotlin
abstract class HTMLTableCellElement : HTMLElement
HTMLTableColElement
Exposes the JavaScript HTMLTableColElement to Kotlin
abstract class HTMLTableColElement : HTMLElement
HTMLTableElement
Exposes the JavaScript HTMLTableElement to Kotlin
abstract class HTMLTableElement : HTMLElement
HTMLTableRowElement
Exposes the JavaScript HTMLTableRowElement to Kotlin
abstract class HTMLTableRowElement : HTMLElement
HTMLTableSectionElement
Exposes the JavaScript HTMLTableSectionElement to Kotlin
abstract class HTMLTableSectionElement : HTMLElement
HTMLTemplateElement
Exposes the JavaScript HTMLTemplateElement to Kotlin
abstract class HTMLTemplateElement : HTMLElement
HTMLTextAreaElement
Exposes the JavaScript HTMLTextAreaElement to Kotlin
abstract class HTMLTextAreaElement : HTMLElement
HTMLTimeElement
Exposes the JavaScript HTMLTimeElement to Kotlin
abstract class HTMLTimeElement : HTMLElement
HTMLTitleElement
Exposes the JavaScript HTMLTitleElement to Kotlin
abstract class HTMLTitleElement : HTMLElement
HTMLTrackElement
Exposes the JavaScript HTMLTrackElement to Kotlin
abstract class HTMLTrackElement : HTMLElement
HTMLUListElement
Exposes the JavaScript HTMLUListElement to Kotlin
abstract class HTMLUListElement : HTMLElement
HTMLUnknownElement
Exposes the JavaScript HTMLUnknownElement to Kotlin
abstract class HTMLUnknownElement : HTMLElement