Reference·JavaScript · @bimworks/dsleditorJavaScript

DslEditorElement

Interface in @bimworks/dsleditor.

API catalogue · @bimworks/dsleditor · Interface

TypeScript#
interface DslEditorElement

. Attributes: address, language, readonly, theme, placeholder, and at creation fill, min-lines, max-lines. Events (bubbling): dsl-change {value}, dsl-status (the status), dsl-error {error}. The editor is created when the element is connected and has an address, and disposed when it is removed.

Inheritance and interfaces#

  • HTMLElement

Members#

Member Kind Description
accessKey Property The HTMLElement.accessKey property sets the keystroke which a user can press to jump to a given element. [MDN Reference](https://developer.mozilla.org/…
accessKeyLabel Property The HTMLElement.accessKeyLabel read-only property returns a string containing the element's browser-assigned access key (if any); otherwise it returns …
ariaActiveDescendantElement Property MDN Reference inheritedFrom: HTMLElement.ariaActiveDescendantElement
ariaAtomic Property MDN Reference inheritedFrom: HTMLElement.ariaAtomic
ariaAutoComplete Property MDN Reference inheritedFrom: HTMLElement.ariaAutoComplete
ariaBrailleLabel Property MDN Reference inheritedFrom: HTMLElement.ariaBrailleLabel
ariaBrailleRoleDescription Property MDN Reference inheritedFrom: HTMLElement.ariaBrailleRoleDescription
ariaBusy Property MDN Reference inheritedFrom: HTMLElement.ariaBusy
ariaChecked Property MDN Reference inheritedFrom: HTMLElement.ariaChecked
ariaColCount Property MDN Reference inheritedFrom: HTMLElement.ariaColCount
ariaColIndex Property MDN Reference inheritedFrom: HTMLElement.ariaColIndex
ariaColIndexText Property MDN Reference inheritedFrom: HTMLElement.ariaColIndexText
ariaColSpan Property MDN Reference inheritedFrom: HTMLElement.ariaColSpan
ariaControlsElements Property MDN Reference inheritedFrom: HTMLElement.ariaControlsElements
ariaCurrent Property MDN Reference inheritedFrom: HTMLElement.ariaCurrent
ariaDescribedByElements Property MDN Reference inheritedFrom: HTMLElement.ariaDescribedByElements
ariaDescription Property MDN Reference inheritedFrom: HTMLElement.ariaDescription
ariaDetailsElements Property MDN Reference inheritedFrom: HTMLElement.ariaDetailsElements
ariaDisabled Property MDN Reference inheritedFrom: HTMLElement.ariaDisabled
ariaErrorMessageElements Property MDN Reference inheritedFrom: HTMLElement.ariaErrorMessageElements
ariaExpanded Property MDN Reference inheritedFrom: HTMLElement.ariaExpanded
ariaFlowToElements Property MDN Reference inheritedFrom: HTMLElement.ariaFlowToElements
ariaHasPopup Property MDN Reference inheritedFrom: HTMLElement.ariaHasPopup
ariaHidden Property MDN Reference inheritedFrom: HTMLElement.ariaHidden
ariaInvalid Property MDN Reference inheritedFrom: HTMLElement.ariaInvalid
ariaKeyShortcuts Property MDN Reference inheritedFrom: HTMLElement.ariaKeyShortcuts
ariaLabel Property MDN Reference inheritedFrom: HTMLElement.ariaLabel
ariaLabelledByElements Property MDN Reference inheritedFrom: HTMLElement.ariaLabelledByElements
ariaLevel Property MDN Reference inheritedFrom: HTMLElement.ariaLevel
ariaLive Property MDN Reference inheritedFrom: HTMLElement.ariaLive
ariaModal Property MDN Reference inheritedFrom: HTMLElement.ariaModal
ariaMultiLine Property MDN Reference inheritedFrom: HTMLElement.ariaMultiLine
ariaMultiSelectable Property MDN Reference inheritedFrom: HTMLElement.ariaMultiSelectable
ariaOrientation Property MDN Reference inheritedFrom: HTMLElement.ariaOrientation
ariaOwnsElements Property MDN Reference inheritedFrom: HTMLElement.ariaOwnsElements
ariaPlaceholder Property MDN Reference inheritedFrom: HTMLElement.ariaPlaceholder
ariaPosInSet Property MDN Reference inheritedFrom: HTMLElement.ariaPosInSet
ariaPressed Property MDN Reference inheritedFrom: HTMLElement.ariaPressed
ariaReadOnly Property MDN Reference inheritedFrom: HTMLElement.ariaReadOnly
ariaRelevant Property MDN Reference inheritedFrom: HTMLElement.ariaRelevant
ariaRequired Property MDN Reference inheritedFrom: HTMLElement.ariaRequired
ariaRoleDescription Property MDN Reference inheritedFrom: HTMLElement.ariaRoleDescription
ariaRowCount Property MDN Reference inheritedFrom: HTMLElement.ariaRowCount
ariaRowIndex Property MDN Reference inheritedFrom: HTMLElement.ariaRowIndex
ariaRowIndexText Property MDN Reference inheritedFrom: HTMLElement.ariaRowIndexText
ariaRowSpan Property MDN Reference inheritedFrom: HTMLElement.ariaRowSpan
ariaSelected Property MDN Reference inheritedFrom: HTMLElement.ariaSelected
ariaSetSize Property MDN Reference inheritedFrom: HTMLElement.ariaSetSize
ariaSort Property MDN Reference inheritedFrom: HTMLElement.ariaSort
ariaValueMax Property MDN Reference inheritedFrom: HTMLElement.ariaValueMax
ariaValueMin Property MDN Reference inheritedFrom: HTMLElement.ariaValueMin
ariaValueNow Property MDN Reference inheritedFrom: HTMLElement.ariaValueNow
ariaValueText Property MDN Reference inheritedFrom: HTMLElement.ariaValueText
assignedSlot Property MDN Reference inheritedFrom: HTMLElement.assignedSlot
ATTRIBUTE_NODE Property inheritedFrom: HTMLElement.ATTRIBUTE_NODE
attributes Property The Element.attributes property returns a live collection of all attribute nodes registered to the specified node. It is a NamedNodeMap, not an Array, …
attributeStyleMap Property MDN Reference inheritedFrom: HTMLElement.attributeStyleMap
autocapitalize Property The autocapitalize property of the HTMLElement interface represents the element's capitalization behavior for user input. It is available on all HTML e…
autocorrect Property The autocorrect property of the HTMLElement interface controls whether or not autocorrection of editable text is enabled for spelling and/or punctuatio…
autofocus Property MDN Reference inheritedFrom: HTMLElement.autofocus
baseURI Property The read-only baseURI property of the Node interface returns the absolute base URL of the document containing the node. [MDN Reference](https://develop…
CDATA_SECTION_NODE Property node is a CDATASection node. inheritedFrom: HTMLElement.CDATA_SECTION_NODE
childElementCount Property MDN Reference inheritedFrom: HTMLElement.childElementCount
childNodes Property The read-only childNodes property of the Node interface returns a live NodeList of child nodes of the given element where the first child node is assig…
children Property Returns the child elements. MDN Reference inheritedFrom: HTMLElement.children
className Property The className property of the Element interface gets and sets the value of the class attribute of the specified element. [MDN Reference](https://develo…
clientHeight Property The clientHeight read-only property of the Element interface is zero for elements with no CSS or inline layout boxes; otherwise, it's the inner height …
clientLeft Property The clientLeft read-only property of the Element interface returns the width of the left border of an element in pixels. It includes the width of the v…
clientTop Property The clientTop read-only property of the Element interface returns the width of the top border of an element in pixels. [MDN Reference](https://develope…
clientWidth Property The clientWidth read-only property of the Element interface is zero for inline elements and elements with no CSS; otherwise, it's the inner width of an…
COMMENT_NODE Property node is a Comment node. inheritedFrom: HTMLElement.COMMENT_NODE
contentEditable Property MDN Reference inheritedFrom: HTMLElement.contentEditable
currentCSSZoom Property The currentCSSZoom read-only property of the Element interface provides the "effective" CSS zoom of an element, taking into account the zoom applied to…
customElementRegistry Property inheritedFrom: HTMLElement.customElementRegistry
dataset Property MDN Reference inheritedFrom: HTMLElement.dataset
dir Property The HTMLElement.dir property indicates the text writing directionality of the content of the current element. It reflects the element's dir attribute. …
DOCUMENT_FRAGMENT_NODE Property node is a DocumentFragment node. inheritedFrom: HTMLElement.DOCUMENT_FRAGMENT_NODE
DOCUMENT_NODE Property node is a document. inheritedFrom: HTMLElement.DOCUMENT_NODE
DOCUMENT_POSITION_CONTAINED_BY Property Set when other is a descendant of node. inheritedFrom: HTMLElement.DOCUMENT_POSITION_CONTAINED_BY
DOCUMENT_POSITION_CONTAINS Property Set when other is an ancestor of node. inheritedFrom: HTMLElement.DOCUMENT_POSITION_CONTAINS
DOCUMENT_POSITION_DISCONNECTED Property Set when node and other are not in the same tree. inheritedFrom: HTMLElement.DOCUMENT_POSITION_DISCONNECTED
DOCUMENT_POSITION_FOLLOWING Property Set when other is following node. inheritedFrom: HTMLElement.DOCUMENT_POSITION_FOLLOWING
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC Property inheritedFrom: HTMLElement.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
DOCUMENT_POSITION_PRECEDING Property Set when other is preceding node. inheritedFrom: HTMLElement.DOCUMENT_POSITION_PRECEDING
DOCUMENT_TYPE_NODE Property node is a doctype. inheritedFrom: HTMLElement.DOCUMENT_TYPE_NODE
draggable Property The draggable property of the HTMLElement interface gets and sets a Boolean primitive indicating if the element is draggable. [MDN Reference](https://d…
editor Property The editor, once connected with an address.
ELEMENT_NODE Property node is an element. inheritedFrom: HTMLElement.ELEMENT_NODE
enterKeyHint Property MDN Reference inheritedFrom: HTMLElement.enterKeyHint
ENTITY_NODE Property inheritedFrom: HTMLElement.ENTITY_NODE
ENTITY_REFERENCE_NODE Property inheritedFrom: HTMLElement.ENTITY_REFERENCE_NODE
fetch Property
firstChild Property The read-only firstChild property of the Node interface returns the node's first child in the tree, or null if the node has no children. [MDN Reference…
firstElementChild Property Returns the first child that is an element, and null otherwise. MDN Reference inheri…
hidden Property The HTMLElement property hidden reflects the value of the element's hidden attribute. [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLEl…
id Property The id property of the Element interface represents the element's identifier, reflecting the id global attribute. [MDN Reference](https://developer.moz…
inert Property The HTMLElement property inert reflects the value of the element's inert attribute. It is a boolean value that, when present, makes the browser "ignore…
innerHTML Property The innerHTML property of the Element interface gets or sets the HTML or XML markup contained within the element, omitting any shadow roots in both cas…
innerText Property The innerText property of the HTMLElement interface represents the rendered text content of a node and its descendants. [MDN Reference](https://develop…
inputMode Property MDN Reference inheritedFrom: HTMLElement.inputMode
isConnected Property The read-only isConnected property of the Node interface returns a boolean indicating whether the node is connected (directly or indirectly) to a Docum…
isContentEditable Property MDN Reference inheritedFrom: HTMLElement.isContentEditable
lang Property The lang property of the HTMLElement interface indicates the base language of an element's attribute values and text content, in the form of a BCP 47 l…
language Property
lastChild Property The read-only lastChild property of the Node interface returns the last child of the node, or null if there are no child nodes. [MDN Reference](https:/…
lastElementChild Property Returns the last child that is an element, and null otherwise. MDN Reference inherite…
localName Property The Element.localName read-only property returns the local part of the qualified name of an element. [MDN Reference](https://developer.mozilla.org/docs…
models Property The models whose names completion proposes (DslEditorOptions.models).
namespaceURI Property The Element.namespaceURI read-only property returns the namespace URI of the element, or null if the element is not in a namespace. [MDN Reference](htt…
nextElementSibling Property Returns the first following sibling that is an element, and null otherwise. [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/nextElem…
nextSibling Property The read-only nextSibling property of the Node interface returns the node immediately following the specified one in their parent's childNodes, or retu…
nodeName Property The read-only nodeName property of Node returns the name of the current node as a string. [MDN Reference](https://developer.mozilla.org/docs/Web/API/No…
nodeType Property The read-only nodeType property of a Node interface is an integer that identifies what the node is. It distinguishes different kinds of nodes from each…
nodeValue Property The nodeValue property of the Node interface returns or sets the value of the current node. [MDN Reference](https://developer.mozilla.org/docs/Web/API/…
nonce Property MDN Reference inheritedFrom: HTMLElement.nonce
NOTATION_NODE Property inheritedFrom: HTMLElement.NOTATION_NODE
offsetHeight Property The offsetHeight read-only property of the HTMLElement interface returns the height of an element, including vertical padding and borders, as an intege…
offsetLeft Property The offsetLeft read-only property of the HTMLElement interface returns the number of pixels that the upper left corner of the current element is offset…
offsetParent Property The HTMLElement.offsetParent read-only property returns a reference to the element which is the closest (nearest in the containment hierarchy) position…
offsetTop Property The offsetTop read-only property of the HTMLElement interface returns the distance from the outer border of the current element (including its margin) …
offsetWidth Property The offsetWidth read-only property of the HTMLElement interface returns the layout width of an element as an integer. [MDN Reference](https://developer…
onabort Property MDN Reference inheritedFrom: HTMLElement.onabort
onanimationcancel Property MDN Reference inheritedFrom: HTMLElement.onanimationcancel
onanimationend Property MDN Reference inheritedFrom: HTMLElement.onanimationend
onanimationiteration Property MDN Reference inheritedFrom: HTMLElement.onanimationiteration
onanimationstart Property MDN Reference inheritedFrom: HTMLElement.onanimationstart
onauxclick Property MDN Reference inheritedFrom: HTMLElement.onauxclick
onbeforeinput Property MDN Reference inheritedFrom: HTMLElement.onbeforeinput
onbeforematch Property MDN Reference inheritedFrom: HTMLElement.onbeforematch
onbeforetoggle Property MDN Reference inheritedFrom: HTMLElement.onbeforetoggle
onblur Property MDN Reference inheritedFrom: HTMLElement.onblur
oncancel Property MDN Reference inheritedFrom: HTMLElement.oncancel
oncanplay Property MDN Reference inheritedFrom: HTMLElement.oncanplay
oncanplaythrough Property MDN Reference inheritedFrom: HTMLElement.oncanplaythrough
onchange Property MDN Reference inheritedFrom: HTMLElement.onchange
onclick Property MDN Reference inheritedFrom: HTMLElement.onclick
onclose Property MDN Reference inheritedFrom: HTMLElement.onclose
oncommand Property MDN Reference inheritedFrom: HTMLElement.oncommand
oncontextlost Property MDN Reference inheritedFrom: HTMLElement.oncontextlost
oncontextmenu Property MDN Reference inheritedFrom: HTMLElement.oncontextmenu
oncontextrestored Property MDN Reference inheritedFrom: HTMLElement.oncontextrestored
oncopy Property MDN Reference inheritedFrom: HTMLElement.oncopy
oncuechange Property MDN Reference inheritedFrom: HTMLElement.oncuechange
oncut Property MDN Reference inheritedFrom: HTMLElement.oncut
ondblclick Property MDN Reference inheritedFrom: HTMLElement.ondblclick
ondrag Property MDN Reference inheritedFrom: HTMLElement.ondrag
ondragend Property MDN Reference inheritedFrom: HTMLElement.ondragend
ondragenter Property MDN Reference inheritedFrom: HTMLElement.ondragenter
ondragleave Property MDN Reference inheritedFrom: HTMLElement.ondragleave
ondragover Property MDN Reference inheritedFrom: HTMLElement.ondragover
ondragstart Property MDN Reference inheritedFrom: HTMLElement.ondragstart
ondrop Property MDN Reference inheritedFrom: HTMLElement.ondrop
ondurationchange Property MDN Reference inheritedFrom: HTMLElement.ondurationchange
onemptied Property MDN Reference inheritedFrom: HTMLElement.onemptied
onended Property MDN Reference inheritedFrom: HTMLElement.onended
onerror Property MDN Reference inheritedFrom: HTMLElement.onerror
onfocus Property MDN Reference inheritedFrom: HTMLElement.onfocus
onformdata Property MDN Reference inheritedFrom: HTMLElement.onformdata
onfullscreenchange Property MDN Reference inheritedFrom: HTMLElement.onfullscreenchange
onfullscreenerror Property MDN Reference inheritedFrom: HTMLElement.onfullscreenerror
ongotpointercapture Property MDN Reference inheritedFrom: HTMLElement.ongotpointercapture
oninput Property MDN Reference inheritedFrom: HTMLElement.oninput
oninvalid Property MDN Reference inheritedFrom: HTMLElement.oninvalid
onkeydown Property MDN Reference inheritedFrom: HTMLElement.onkeydown
onkeypress Property inheritedFrom: HTMLElement.onkeypress
onkeyup Property MDN Reference inheritedFrom: HTMLElement.onkeyup
onload Property MDN Reference inheritedFrom: HTMLElement.onload
onloadeddata Property MDN Reference inheritedFrom: HTMLElement.onloadeddata
onloadedmetadata Property MDN Reference inheritedFrom: HTMLElement.onloadedmetadata
onloadstart Property MDN Reference inheritedFrom: HTMLElement.onloadstart
onlostpointercapture Property MDN Reference inheritedFrom: HTMLElement.onlostpointercapture
onmousedown Property MDN Reference inheritedFrom: HTMLElement.onmousedown
onmouseenter Property MDN Reference inheritedFrom: HTMLElement.onmouseenter
onmouseleave Property MDN Reference inheritedFrom: HTMLElement.onmouseleave
onmousemove Property MDN Reference inheritedFrom: HTMLElement.onmousemove
onmouseout Property MDN Reference inheritedFrom: HTMLElement.onmouseout
onmouseover Property MDN Reference inheritedFrom: HTMLElement.onmouseover
onmouseup Property MDN Reference inheritedFrom: HTMLElement.onmouseup
onpaste Property MDN Reference inheritedFrom: HTMLElement.onpaste
onpause Property MDN Reference inheritedFrom: HTMLElement.onpause
onplay Property MDN Reference inheritedFrom: HTMLElement.onplay
onplaying Property MDN Reference inheritedFrom: HTMLElement.onplaying
onpointercancel Property MDN Reference inheritedFrom: HTMLElement.onpointercancel
onpointerdown Property MDN Reference inheritedFrom: HTMLElement.onpointerdown
onpointerenter Property MDN Reference inheritedFrom: HTMLElement.onpointerenter
onpointerleave Property MDN Reference inheritedFrom: HTMLElement.onpointerleave
onpointermove Property MDN Reference inheritedFrom: HTMLElement.onpointermove
onpointerout Property MDN Reference inheritedFrom: HTMLElement.onpointerout
onpointerover Property MDN Reference inheritedFrom: HTMLElement.onpointerover
onpointerrawupdate Property Available only in secure contexts. MDN Reference inheritedFrom: HTMLElement.onpo…
onpointerup Property MDN Reference inheritedFrom: HTMLElement.onpointerup
onprogress Property MDN Reference inheritedFrom: HTMLElement.onprogress
onratechange Property MDN Reference inheritedFrom: HTMLElement.onratechange
onreset Property MDN Reference inheritedFrom: HTMLElement.onreset
onresize Property MDN Reference inheritedFrom: HTMLElement.onresize
onscroll Property MDN Reference inheritedFrom: HTMLElement.onscroll
onscrollend Property MDN Reference inheritedFrom: HTMLElement.onscrollend
onsecuritypolicyviolation Property MDN Reference inheritedFrom: HTMLElement.onsecuritypolicyviolation
onseeked Property MDN Reference inheritedFrom: HTMLElement.onseeked
onseeking Property MDN Reference inheritedFrom: HTMLElement.onseeking
onselect Property MDN Reference inheritedFrom: HTMLElement.onselect
onselectionchange Property MDN Reference inheritedFrom: HTMLElement.onselectionchange
onselectstart Property MDN Reference inheritedFrom: HTMLElement.onselectstart
onslotchange Property MDN Reference inheritedFrom: HTMLElement.onslotchange
onstalled Property MDN Reference inheritedFrom: HTMLElement.onstalled
onsubmit Property MDN Reference inheritedFrom: HTMLElement.onsubmit
onsuspend Property MDN Reference inheritedFrom: HTMLElement.onsuspend
ontimeupdate Property MDN Reference inheritedFrom: HTMLElement.ontimeupdate
ontoggle Property MDN Reference inheritedFrom: HTMLElement.ontoggle
ontouchcancel Property MDN Reference inheritedFrom: HTMLElement.ontouchcancel
ontouchend Property MDN Reference inheritedFrom: HTMLElement.ontouchend
ontouchmove Property MDN Reference inheritedFrom: HTMLElement.ontouchmove
ontouchstart Property MDN Reference inheritedFrom: HTMLElement.ontouchstart
ontransitioncancel Property MDN Reference inheritedFrom: HTMLElement.ontransitioncancel
ontransitionend Property MDN Reference inheritedFrom: HTMLElement.ontransitionend
ontransitionrun Property MDN Reference inheritedFrom: HTMLElement.ontransitionrun
ontransitionstart Property MDN Reference inheritedFrom: HTMLElement.ontransitionstart
onvolumechange Property MDN Reference inheritedFrom: HTMLElement.onvolumechange
onwaiting Property MDN Reference inheritedFrom: HTMLElement.onwaiting
onwebkitanimationend Property inheritedFrom: HTMLElement.onwebkitanimationend
onwebkitanimationiteration Property inheritedFrom: HTMLElement.onwebkitanimationiteration
onwebkitanimationstart Property inheritedFrom: HTMLElement.onwebkitanimationstart
onwebkittransitionend Property inheritedFrom: HTMLElement.onwebkittransitionend
onwheel Property MDN Reference inheritedFrom: HTMLElement.onwheel
outerHTML Property The outerHTML attribute of the Element interface gets or sets the HTML or XML markup of the element and its descendants, omitting any shadow roots in b…
outerText Property The outerText property of the HTMLElement interface returns the same value as HTMLElement.innerText. When used as a setter it replaces the whole curren…
ownerDocument Property The read-only ownerDocument property of the Node interface returns the top-level document object of the node. [MDN Reference](https://developer.mozilla…
parentElement Property The read-only parentElement property of Node interface returns the DOM node's parent Element, or null if the node either has no parent, or its parent i…
parentNode Property The read-only parentNode property of the Node interface returns the parent of the specified node in the DOM tree. [MDN Reference](https://developer.moz…
popover Property The popover property of the HTMLElement interface gets and sets an element's popover state via JavaScript ("auto", "hint", or "manual"), and can be use…
prefix Property The Element.prefix read-only property returns the namespace prefix of the specified element, or null if no prefix is specified. [MDN Reference](https:/…
previousElementSibling Property Returns the first preceding sibling that is an element, and null otherwise. [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/previous…
previousSibling Property The read-only previousSibling property of the Node interface returns the node immediately preceding the specified one in its parent's childNodes list, …
PROCESSING_INSTRUCTION_NODE Property node is a ProcessingInstruction node. inheritedFrom: HTMLElement.PROCESSING_INSTRUCTION_NODE
readOnly Property
role Property MDN Reference inheritedFrom: HTMLElement.role
scrollHeight Property The scrollHeight read-only property of the Element interface is a measurement of the height of an element's content, including content not visible on t…
scrollLeft Property The scrollLeft property of the Element interface gets or sets the number of pixels by which an element's content is scrolled from its left edge. This v…
scrollTop Property The scrollTop property of the Element interface gets or sets the number of pixels by which an element's content is scrolled from its top edge. This val…
scrollWidth Property The scrollWidth read-only property of the Element interface is a measurement of the width of an element's content, including content not visible on the…
shadowRoot Property The Element.shadowRoot read-only property represents the shadow root hosted by the element. [MDN Reference](https://developer.mozilla.org/docs/Web/API/…
slot Property The slot property of the Element interface returns the name of the shadow DOM slot the element is inserted in. [MDN Reference](https://developer.mozill…
spellcheck Property The spellcheck property of the HTMLElement interface represents a boolean value that controls the spell-checking hint. It is available on all HTML elem…
tabIndex Property MDN Reference inheritedFrom: HTMLElement.tabIndex
tagName Property The tagName read-only property of the Element interface returns the tag name of the element on which it's called. [MDN Reference](https://developer.moz…
TEXT_NODE Property node is a Text node. inheritedFrom: HTMLElement.TEXT_NODE
title Property The HTMLElement.title property represents the title of the element: the text usually displayed in a 'tooltip' popup when the mouse is over the node. [M…
token Property Never an attribute: a token does not belong in the DOM.
translate Property The translate property of the HTMLElement interface indicates whether an element's attribute values and the values of its Text node children are to be …
value Property The text; settable before the editor exists.
writingSuggestions Property The writingSuggestions property of the HTMLElement interface is a string indicating if browser-provided writing suggestions should be enabled under the…
classList Method The read-only classList property of the Element interface contains a live DOMTokenList collection representing the class attribute of the element. This…
classList Method inheritedFrom: HTMLElement.classList
part Method The read-only part property of the Element interface contains a DOMTokenList object representing the part identifier(s) of the element. It reflects the…
part Method inheritedFrom: HTMLElement.part
style Method MDN Reference inheritedFrom: HTMLElement.style
style Method inheritedFrom: HTMLElement.style
textContent Method MDN Reference inheritedFrom: HTMLElement.textContent
textContent Method The textContent property of the Node interface represents the text content of the node and its descendants. [MDN Reference](https://developer.mozilla.o…
addEventListener Method inheritedFrom: HTMLElement.addEventListener
addEventListener Method inheritedFrom: HTMLElement.addEventListener
after Method Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes. Throws a "HierarchyRequestError" DOMException if the constraints …
animate Method MDN Reference inheritedFrom: HTMLElement.animate
append Method Inserts nodes after the last child of node, while replacing strings in nodes with equivalent Text nodes. Throws a "HierarchyRequestError" DOMException if the…
appendChild Method The appendChild() method of the Node interface adds a node to the end of the list of children of a specified parent node. [MDN Reference](https://devel…
attachInternals Method The HTMLElement.attachInternals() method returns an ElementInternals object. This method allows a custom element to participate in HTML forms. The Elem…
attachShadow Method The Element.attachShadow() method attaches a shadow DOM tree to the specified element and returns a reference to its ShadowRoot. [MDN Reference](https:…
before Method Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes. Throws a "HierarchyRequestError" DOMException if the constraints…
blur Method MDN Reference inheritedFrom: HTMLElement.blur
checkVisibility Method The checkVisibility() method of the Element interface checks whether the element is visible. [MDN Reference](https://developer.mozilla.org/docs/Web/API…
click Method The HTMLElement.click() method simulates a mouse click on an element. When called on an element, the element's click event is fired (unless its disable…
cloneNode Method The cloneNode() method of the Node interface returns a duplicate of the node on which this method was called. Its parameter controls if the subtree con…
closest Method The closest() method of the Element interface traverses the element and its parents (heading toward the document root) until it finds a node that match…
closest Method inheritedFrom: HTMLElement.closest
closest Method inheritedFrom: HTMLElement.closest
closest Method inheritedFrom: HTMLElement.closest
compareDocumentPosition Method The compareDocumentPosition() method of the Node interface reports the position of its argument node relative to the node on which it is called. [MDN R…
computedStyleMap Method The computedStyleMap() method of the Element interface returns a StylePropertyMapReadOnly interface which provides a read-only representation of a CSS …
contains Method The contains() method of the Node interface returns a boolean value indicating whether a node is a descendant of a given node, that is the node itself,…
dispatchEvent Method The dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate or…
focus Method MDN Reference inheritedFrom: HTMLElement.focus
getAnimations Method MDN Reference inheritedFrom: HTMLElement.getAnimations
getAttribute Method The getAttribute() method of the Element interface returns the value of a specified attribute on the element. [MDN Reference](https://developer.mozilla…
getAttributeNames Method The getAttributeNames() method of the Element interface returns the attribute names of the element as an Array of strings. If the element has no attrib…
getAttributeNode Method Returns the specified attribute of the specified element, as an Attr node. [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getAttributeNod…
getAttributeNodeNS Method The getAttributeNodeNS() method of the Element interface returns the namespaced Attr node of an element. [MDN Reference](https://developer.mozilla.org/…
getAttributeNS Method The getAttributeNS() method of the Element interface returns the string value of the attribute with the specified namespace and name. If the named attr…
getBoundingClientRect Method The Element.getBoundingClientRect() method returns a DOMRect object providing information about the size of an element and its position relative to the…
getClientRects Method The getClientRects() method of the Element interface returns a collection of DOMRect objects that indicate the bounding rectangles for each CSS border …
getElementsByClassName Method The Element method getElementsByClassName() returns a live HTMLCollection which contains every descendant element which has the specified class name or…
getElementsByTagName Method The Element.getElementsByTagName() method returns a live HTMLCollection of elements with the given tag name. [MDN Reference](https://developer.mozilla.…
getElementsByTagName Method inheritedFrom: HTMLElement.getElementsByTagName
getElementsByTagName Method inheritedFrom: HTMLElement.getElementsByTagName
getElementsByTagName Method inheritedFrom: HTMLElement.getElementsByTagName
getElementsByTagName Method inheritedFrom: HTMLElement.getElementsByTagName
getElementsByTagNameNS Method The Element.getElementsByTagNameNS() method returns a live HTMLCollection of elements with the given tag name belonging to the given namespace. It is s…
getElementsByTagNameNS Method inheritedFrom: HTMLElement.getElementsByTagNameNS
getElementsByTagNameNS Method inheritedFrom: HTMLElement.getElementsByTagNameNS
getElementsByTagNameNS Method inheritedFrom: HTMLElement.getElementsByTagNameNS
getHTML Method The getHTML() method of the Element interface is used to serialize an element's DOM to an HTML string. [MDN Reference](https://developer.mozilla.org/do…
getRootNode Method The getRootNode() method of the Node interface returns the context object's root, which optionally includes the shadow root if it is available. [MDN Re…
hasAttribute Method The Element.hasAttribute() method returns a Boolean value indicating whether the specified element has the specified attribute or not. [MDN Reference](…
hasAttributeNS Method The hasAttributeNS() method of the Element interface returns a boolean value indicating whether the current element has the specified attribute with th…
hasAttributes Method The hasAttributes() method of the Element interface returns a boolean value indicating whether the current element has any attributes or not. [MDN Refe…
hasChildNodes Method The hasChildNodes() method of the Node interface returns a boolean value indicating whether the given Node has child nodes or not. [MDN Reference](http…
hasPointerCapture Method The hasPointerCapture() method of the Element interface checks whether the element on which it is invoked has pointer capture for the pointer identifie…
hidePopover Method The hidePopover() method of the HTMLElement interface hides a popover element (i.e., one that has a valid popover attribute) by removing it from the to…
insertAdjacentElement Method The insertAdjacentElement() method of the Element interface inserts a given element node at a given position relative to the element it is invoked upon…
insertAdjacentHTML Method The insertAdjacentHTML() method of the Element interface parses the specified input as HTML or XML and inserts the resulting nodes into the DOM tree at…
insertAdjacentText Method The insertAdjacentText() method of the Element interface, given a relative position and a string, inserts a new text node at the given position relativ…
insertBefore Method The insertBefore() method of the Node interface inserts a node before a reference node as a child of a specified parent node. [MDN Reference](https://d…
isDefaultNamespace Method The isDefaultNamespace() method of the Node interface accepts a namespace URI as an argument. It returns a boolean value that is true if the namespace …
isEqualNode Method The isEqualNode() method of the Node interface tests whether two nodes are equal. Two nodes are equal when they have the same type, defining characteri…
isSameNode Method The isSameNode() method of the Node interface is a legacy alias the for the === strict equality operator. That is, it tests whether two nodes are the s…
lookupNamespaceURI Method The lookupNamespaceURI() method of the Node interface takes a prefix as parameter and returns the namespace URI associated with it on the given node if…
lookupPrefix Method The lookupPrefix() method of the Node interface returns a string containing the prefix for a given namespace URI, if present, and null if not. When mul…
matches Method The matches() method of the Element interface tests whether the element would be selected by the specified CSS selector. [MDN Reference](https://develo…
matches Method inheritedFrom: HTMLElement.matches
matches Method inheritedFrom: HTMLElement.matches
matches Method inheritedFrom: HTMLElement.matches
moveBefore Method MDN Reference inheritedFrom: HTMLElement.moveBefore
normalize Method The normalize() method of the Node interface puts the specified node and all of its sub-tree into a normalized form. In a normalized sub-tree, no text …
prepend Method Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes. Throws a "HierarchyRequestError" DOMException if t…
querySelector Method Returns the first element that is a descendant of node that matches selectors. [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/querySelec…
querySelector Method inheritedFrom: HTMLElement.querySelector
querySelector Method inheritedFrom: HTMLElement.querySelector
querySelector Method inheritedFrom: HTMLElement.querySelector
querySelector Method inheritedFrom: HTMLElement.querySelector
querySelectorAll Method Returns all element descendants of node that match selectors. MDN Reference inherited…
querySelectorAll Method inheritedFrom: HTMLElement.querySelectorAll
querySelectorAll Method inheritedFrom: HTMLElement.querySelectorAll
querySelectorAll Method inheritedFrom: HTMLElement.querySelectorAll
querySelectorAll Method inheritedFrom: HTMLElement.querySelectorAll
releasePointerCapture Method The releasePointerCapture() method of the Element interface releases (stops) pointer capture that was previously set for a specific (PointerEvent) poin…
remove Method Removes node. MDN Reference inheritedFrom: HTMLElement.remove
removeAttribute Method The Element method removeAttribute() removes the attribute with the specified name from the element. [MDN Reference](https://developer.mozilla.org/docs…
removeAttributeNode Method The removeAttributeNode() method of the Element interface removes the specified Attr node from the element. [MDN Reference](https://developer.mozilla.o…
removeAttributeNS Method The removeAttributeNS() method of the Element interface removes the specified attribute with the specified namespace from an element. [MDN Reference](h…
removeChild Method The removeChild() method of the Node interface removes a child node from the DOM and returns the removed node. [MDN Reference](https://developer.mozill…
removeEventListener Method inheritedFrom: HTMLElement.removeEventListener
removeEventListener Method inheritedFrom: HTMLElement.removeEventListener
replaceChild Method The replaceChild() method of the Node interface replaces a child node within the given (parent) node. [MDN Reference](https://developer.mozilla.org/doc…
replaceChildren Method Replace all children of node with nodes, while replacing strings in nodes with equivalent Text nodes. Throws a "HierarchyRequestError" DOMException if the co…
replaceWith Method Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes. Throws a "HierarchyRequestError" DOMException if the constraints of th…
requestFullscreen Method The Element.requestFullscreen() method issues an asynchronous request to make the element be displayed in fullscreen mode. [MDN Reference](https://deve…
requestPointerLock Method The requestPointerLock() method of the Element interface lets you asynchronously ask for the pointer to be locked on the given element. [MDN Reference]…
scroll Method The scroll() method of the Element interface scrolls the element to a particular set of coordinates inside a given element. [MDN Reference](https://dev…
scroll Method inheritedFrom: HTMLElement.scroll
scrollBy Method The scrollBy() method of the Element interface scrolls an element by the given amount. [MDN Reference](https://developer.mozilla.org/docs/Web/API/Eleme…
scrollBy Method inheritedFrom: HTMLElement.scrollBy
scrollIntoView Method The Element interface's scrollIntoView() method scrolls the element's ancestor containers such that the element on which scrollIntoView() is called is …
scrollTo Method The scrollTo() method of the Element interface scrolls to a particular set of coordinates inside a given element. [MDN Reference](https://developer.moz…
scrollTo Method inheritedFrom: HTMLElement.scrollTo
setAttribute Method The setAttribute() method of the Element interface sets the value of an attribute on the specified element. If the attribute already exists, the value …
setAttributeNode Method The setAttributeNode() method of the Element interface adds a new Attr node to the specified element. [MDN Reference](https://developer.mozilla.org/doc…
setAttributeNodeNS Method The setAttributeNodeNS() method of the Element interface adds a new namespaced Attr node to an element. [MDN Reference](https://developer.mozilla.org/d…
setAttributeNS Method The setAttributeNS() method of the Element interface adds a new attribute or changes the value of an attribute with the given namespace and name. [MDN …
setHTMLUnsafe Method The setHTMLUnsafe() method of the Element interface is used to parse HTML input into a DocumentFragment, optionally filtering out unwanted elements and…
setPointerCapture Method The setPointerCapture() method of the Element interface is used to designate a specific element as the capture target of future pointer events. Subsequ…
showPopover Method The showPopover() method of the HTMLElement interface shows a popover element (i.e., one that has a valid popover attribute) by adding it to the top la…
toggleAttribute Method The toggleAttribute() method of the Element interface toggles a Boolean attribute (removing it if it is present and adding it if it is not present) on …
togglePopover Method The togglePopover() method of the HTMLElement interface toggles a popover element (i.e., one that has a valid popover attribute) between the hidden and…
webkitMatchesSelector Method inheritedFrom: HTMLElement.webkitMatchesSelector

accessKey#

TypeScript#
accessKey: string

The HTMLElement.accessKey property sets the keystroke which a user can press to jump to a given element.

MDN Reference

inheritedFrom: HTMLElement.accessKey

accessKeyLabel#

TypeScript#
readonly accessKeyLabel: string

The HTMLElement.accessKeyLabel read-only property returns a string containing the element's browser-assigned access key (if any); otherwise it returns an empty string.

MDN Reference

inheritedFrom: HTMLElement.accessKeyLabel

ariaActiveDescendantElement#

TypeScript#
ariaActiveDescendantElement: Element | null

MDN Reference

inheritedFrom: HTMLElement.ariaActiveDescendantElement

ariaAtomic#

TypeScript#
ariaAtomic: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaAtomic

ariaAutoComplete#

TypeScript#
ariaAutoComplete: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaAutoComplete

ariaBrailleLabel#

TypeScript#
ariaBrailleLabel: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaBrailleLabel

ariaBrailleRoleDescription#

TypeScript#
ariaBrailleRoleDescription: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaBrailleRoleDescription

ariaBusy#

TypeScript#
ariaBusy: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaBusy

ariaChecked#

TypeScript#
ariaChecked: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaChecked

ariaColCount#

TypeScript#
ariaColCount: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaColCount

ariaColIndex#

TypeScript#
ariaColIndex: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaColIndex

ariaColIndexText#

TypeScript#
ariaColIndexText: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaColIndexText

ariaColSpan#

TypeScript#
ariaColSpan: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaColSpan

ariaControlsElements#

TypeScript#
ariaControlsElements: readonly (Element)[] | null

MDN Reference

inheritedFrom: HTMLElement.ariaControlsElements

ariaCurrent#

TypeScript#
ariaCurrent: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaCurrent

ariaDescribedByElements#

TypeScript#
ariaDescribedByElements: readonly (Element)[] | null

MDN Reference

inheritedFrom: HTMLElement.ariaDescribedByElements

ariaDescription#

TypeScript#
ariaDescription: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaDescription

ariaDetailsElements#

TypeScript#
ariaDetailsElements: readonly (Element)[] | null

MDN Reference

inheritedFrom: HTMLElement.ariaDetailsElements

ariaDisabled#

TypeScript#
ariaDisabled: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaDisabled

ariaErrorMessageElements#

TypeScript#
ariaErrorMessageElements: readonly (Element)[] | null

MDN Reference

inheritedFrom: HTMLElement.ariaErrorMessageElements

ariaExpanded#

TypeScript#
ariaExpanded: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaExpanded

ariaFlowToElements#

TypeScript#
ariaFlowToElements: readonly (Element)[] | null

MDN Reference

inheritedFrom: HTMLElement.ariaFlowToElements

ariaHasPopup#

TypeScript#
ariaHasPopup: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaHasPopup

ariaHidden#

TypeScript#
ariaHidden: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaHidden

ariaInvalid#

TypeScript#
ariaInvalid: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaInvalid

ariaKeyShortcuts#

TypeScript#
ariaKeyShortcuts: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaKeyShortcuts

ariaLabel#

TypeScript#
ariaLabel: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaLabel

ariaLabelledByElements#

TypeScript#
ariaLabelledByElements: readonly (Element)[] | null

MDN Reference

inheritedFrom: HTMLElement.ariaLabelledByElements

ariaLevel#

TypeScript#
ariaLevel: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaLevel

ariaLive#

TypeScript#
ariaLive: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaLive

ariaModal#

TypeScript#
ariaModal: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaModal

ariaMultiLine#

TypeScript#
ariaMultiLine: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaMultiLine

ariaMultiSelectable#

TypeScript#
ariaMultiSelectable: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaMultiSelectable

ariaOrientation#

TypeScript#
ariaOrientation: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaOrientation

ariaOwnsElements#

TypeScript#
ariaOwnsElements: readonly (Element)[] | null

MDN Reference

inheritedFrom: HTMLElement.ariaOwnsElements

ariaPlaceholder#

TypeScript#
ariaPlaceholder: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaPlaceholder

ariaPosInSet#

TypeScript#
ariaPosInSet: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaPosInSet

ariaPressed#

TypeScript#
ariaPressed: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaPressed

ariaReadOnly#

TypeScript#
ariaReadOnly: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaReadOnly

ariaRelevant#

TypeScript#
ariaRelevant: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaRelevant

ariaRequired#

TypeScript#
ariaRequired: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaRequired

ariaRoleDescription#

TypeScript#
ariaRoleDescription: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaRoleDescription

ariaRowCount#

TypeScript#
ariaRowCount: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaRowCount

ariaRowIndex#

TypeScript#
ariaRowIndex: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaRowIndex

ariaRowIndexText#

TypeScript#
ariaRowIndexText: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaRowIndexText

ariaRowSpan#

TypeScript#
ariaRowSpan: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaRowSpan

ariaSelected#

TypeScript#
ariaSelected: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaSelected

ariaSetSize#

TypeScript#
ariaSetSize: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaSetSize

ariaSort#

TypeScript#
ariaSort: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaSort

ariaValueMax#

TypeScript#
ariaValueMax: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaValueMax

ariaValueMin#

TypeScript#
ariaValueMin: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaValueMin

ariaValueNow#

TypeScript#
ariaValueNow: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaValueNow

ariaValueText#

TypeScript#
ariaValueText: string | null

MDN Reference

inheritedFrom: HTMLElement.ariaValueText

assignedSlot#

TypeScript#
readonly assignedSlot: HTMLSlotElement | null

MDN Reference

inheritedFrom: HTMLElement.assignedSlot

ATTRIBUTE_NODE#

TypeScript#
readonly ATTRIBUTE_NODE: 2

inheritedFrom: HTMLElement.ATTRIBUTE_NODE

attributes#

TypeScript#
readonly attributes: NamedNodeMap

The Element.attributes property returns a live collection of all attribute nodes registered to the specified node. It is a NamedNodeMap, not an Array, so it has no Array methods and the Attr nodes' indexes may differ among browsers. To be more specific, attributes is a key/value pair of strings that represents any information regarding that attribute.

MDN Reference

inheritedFrom: HTMLElement.attributes

attributeStyleMap#

TypeScript#
readonly attributeStyleMap: StylePropertyMap

MDN Reference

inheritedFrom: HTMLElement.attributeStyleMap

autocapitalize#

TypeScript#
autocapitalize: string

The autocapitalize property of the HTMLElement interface represents the element's capitalization behavior for user input. It is available on all HTML elements, though it doesn't affect all of them, including:

MDN Reference

inheritedFrom: HTMLElement.autocapitalize

autocorrect#

TypeScript#
autocorrect: boolean

The autocorrect property of the HTMLElement interface controls whether or not autocorrection of editable text is enabled for spelling and/or punctuation errors.

MDN Reference

inheritedFrom: HTMLElement.autocorrect

autofocus#

TypeScript#
autofocus: boolean

MDN Reference

inheritedFrom: HTMLElement.autofocus

baseURI#

TypeScript#
readonly baseURI: string

The read-only baseURI property of the Node interface returns the absolute base URL of the document containing the node.

MDN Reference

inheritedFrom: HTMLElement.baseURI

CDATA_SECTION_NODE#

TypeScript#
readonly CDATA_SECTION_NODE: 4

node is a CDATASection node.

inheritedFrom: HTMLElement.CDATA_SECTION_NODE

childElementCount#

TypeScript#
readonly childElementCount: number

MDN Reference

inheritedFrom: HTMLElement.childElementCount

childNodes#

TypeScript#
readonly childNodes: NodeListOf<ChildNode>

The read-only childNodes property of the Node interface returns a live NodeList of child nodes of the given element where the first child node is assigned index 0. Child nodes include elements, text and comments.

MDN Reference

inheritedFrom: HTMLElement.childNodes

children#

TypeScript#
readonly children: HTMLCollection

Returns the child elements.

MDN Reference

inheritedFrom: HTMLElement.children

className#

TypeScript#
className: string

The className property of the Element interface gets and sets the value of the class attribute of the specified element.

MDN Reference

inheritedFrom: HTMLElement.className

clientHeight#

TypeScript#
readonly clientHeight: number

The clientHeight read-only property of the Element interface is zero for elements with no CSS or inline layout boxes; otherwise, it's the inner height of an element in pixels. It includes padding but excludes borders, margins, and horizontal scrollbars (if present).

MDN Reference

inheritedFrom: HTMLElement.clientHeight

clientLeft#

TypeScript#
readonly clientLeft: number

The clientLeft read-only property of the Element interface returns the width of the left border of an element in pixels. It includes the width of the vertical scrollbar if the text direction of the element is right-to-left and if there is an overflow causing a left vertical scrollbar to be rendered. clientLeft does not include the left margin or the left padding.

MDN Reference

inheritedFrom: HTMLElement.clientLeft

clientTop#

TypeScript#
readonly clientTop: number

The clientTop read-only property of the Element interface returns the width of the top border of an element in pixels.

MDN Reference

inheritedFrom: HTMLElement.clientTop

clientWidth#

TypeScript#
readonly clientWidth: number

The clientWidth read-only property of the Element interface is zero for inline elements and elements with no CSS; otherwise, it's the inner width of an element in pixels. It includes padding but excludes borders, margins, and vertical scrollbars (if present).

MDN Reference

inheritedFrom: HTMLElement.clientWidth

COMMENT_NODE#

TypeScript#
readonly COMMENT_NODE: 8

node is a Comment node.

inheritedFrom: HTMLElement.COMMENT_NODE

contentEditable#

TypeScript#
contentEditable: string

MDN Reference

inheritedFrom: HTMLElement.contentEditable

currentCSSZoom#

TypeScript#
readonly currentCSSZoom: number

The currentCSSZoom read-only property of the Element interface provides the "effective" CSS zoom of an element, taking into account the zoom applied to the element and all its parent elements.

MDN Reference

inheritedFrom: HTMLElement.currentCSSZoom

customElementRegistry#

TypeScript#
readonly customElementRegistry: CustomElementRegistry | null

inheritedFrom: HTMLElement.customElementRegistry

dataset#

TypeScript#
readonly dataset: DOMStringMap

MDN Reference

inheritedFrom: HTMLElement.dataset

dir#

TypeScript#
dir: string

The HTMLElement.dir property indicates the text writing directionality of the content of the current element. It reflects the element's dir attribute.

MDN Reference

inheritedFrom: HTMLElement.dir

DOCUMENT_FRAGMENT_NODE#

TypeScript#
readonly DOCUMENT_FRAGMENT_NODE: 11

node is a DocumentFragment node.

inheritedFrom: HTMLElement.DOCUMENT_FRAGMENT_NODE

DOCUMENT_NODE#

TypeScript#
readonly DOCUMENT_NODE: 9

node is a document.

inheritedFrom: HTMLElement.DOCUMENT_NODE

DOCUMENT_POSITION_CONTAINED_BY#

TypeScript#
readonly DOCUMENT_POSITION_CONTAINED_BY: 16

Set when other is a descendant of node.

inheritedFrom: HTMLElement.DOCUMENT_POSITION_CONTAINED_BY

DOCUMENT_POSITION_CONTAINS#

TypeScript#
readonly DOCUMENT_POSITION_CONTAINS: 8

Set when other is an ancestor of node.

inheritedFrom: HTMLElement.DOCUMENT_POSITION_CONTAINS

DOCUMENT_POSITION_DISCONNECTED#

TypeScript#
readonly DOCUMENT_POSITION_DISCONNECTED: 1

Set when node and other are not in the same tree.

inheritedFrom: HTMLElement.DOCUMENT_POSITION_DISCONNECTED

DOCUMENT_POSITION_FOLLOWING#

TypeScript#
readonly DOCUMENT_POSITION_FOLLOWING: 4

Set when other is following node.

inheritedFrom: HTMLElement.DOCUMENT_POSITION_FOLLOWING

DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC#

TypeScript#
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32

inheritedFrom: HTMLElement.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC

DOCUMENT_POSITION_PRECEDING#

TypeScript#
readonly DOCUMENT_POSITION_PRECEDING: 2

Set when other is preceding node.

inheritedFrom: HTMLElement.DOCUMENT_POSITION_PRECEDING

DOCUMENT_TYPE_NODE#

TypeScript#
readonly DOCUMENT_TYPE_NODE: 10

node is a doctype.

inheritedFrom: HTMLElement.DOCUMENT_TYPE_NODE

draggable#

TypeScript#
draggable: boolean

The draggable property of the HTMLElement interface gets and sets a Boolean primitive indicating if the element is draggable.

MDN Reference

inheritedFrom: HTMLElement.draggable

editor#

TypeScript#
readonly editor: DslEditor | null

The editor, once connected with an address.

ELEMENT_NODE#

TypeScript#
readonly ELEMENT_NODE: 1

node is an element.

inheritedFrom: HTMLElement.ELEMENT_NODE

enterKeyHint#

TypeScript#
enterKeyHint: string

MDN Reference

inheritedFrom: HTMLElement.enterKeyHint

ENTITY_NODE#

TypeScript#
readonly ENTITY_NODE: 6

inheritedFrom: HTMLElement.ENTITY_NODE

ENTITY_REFERENCE_NODE#

TypeScript#
readonly ENTITY_REFERENCE_NODE: 5

inheritedFrom: HTMLElement.ENTITY_REFERENCE_NODE

fetch#

TypeScript#
fetch: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response> | undefined

firstChild#

TypeScript#
readonly firstChild: ChildNode | null

The read-only firstChild property of the Node interface returns the node's first child in the tree, or null if the node has no children.

MDN Reference

inheritedFrom: HTMLElement.firstChild

firstElementChild#

TypeScript#
readonly firstElementChild: Element | null

Returns the first child that is an element, and null otherwise.

MDN Reference

inheritedFrom: HTMLElement.firstElementChild

hidden#

TypeScript#
hidden: boolean | "until-found"

The HTMLElement property hidden reflects the value of the element's hidden attribute.

MDN Reference

inheritedFrom: HTMLElement.hidden

id#

TypeScript#
id: string

The id property of the Element interface represents the element's identifier, reflecting the id global attribute.

MDN Reference

inheritedFrom: HTMLElement.id

inert#

TypeScript#
inert: boolean

The HTMLElement property inert reflects the value of the element's inert attribute. It is a boolean value that, when present, makes the browser "ignore" user input events for the element, including focus events and events from assistive technologies. The browser may also ignore page search and text selection in the element. This can be useful when building UIs such as modals where you would want to "trap" the focus inside the modal when it's visible.

MDN Reference

inheritedFrom: HTMLElement.inert

innerHTML#

TypeScript#
innerHTML: string

The innerHTML property of the Element interface gets or sets the HTML or XML markup contained within the element, omitting any shadow roots in both cases.

MDN Reference

inheritedFrom: HTMLElement.innerHTML

innerText#

TypeScript#
innerText: string

The innerText property of the HTMLElement interface represents the rendered text content of a node and its descendants.

MDN Reference

inheritedFrom: HTMLElement.innerText

inputMode#

TypeScript#
inputMode: string

MDN Reference

inheritedFrom: HTMLElement.inputMode

isConnected#

TypeScript#
readonly isConnected: boolean

The read-only isConnected property of the Node interface returns a boolean indicating whether the node is connected (directly or indirectly) to a Document object.

MDN Reference

inheritedFrom: HTMLElement.isConnected

isContentEditable#

TypeScript#
readonly isContentEditable: boolean

MDN Reference

inheritedFrom: HTMLElement.isContentEditable

lang#

TypeScript#
lang: string

The lang property of the HTMLElement interface indicates the base language of an element's attribute values and text content, in the form of a BCP 47 language tag. It reflects the element's lang attribute; the xml:lang attribute does not affect this property.

MDN Reference

inheritedFrom: HTMLElement.lang

language#

TypeScript#
language: DslLanguage

lastChild#

TypeScript#
readonly lastChild: ChildNode | null

The read-only lastChild property of the Node interface returns the last child of the node, or null if there are no child nodes.

MDN Reference

inheritedFrom: HTMLElement.lastChild

lastElementChild#

TypeScript#
readonly lastElementChild: Element | null

Returns the last child that is an element, and null otherwise.

MDN Reference

inheritedFrom: HTMLElement.lastElementChild

localName#

TypeScript#
readonly localName: string

The Element.localName read-only property returns the local part of the qualified name of an element.

MDN Reference

inheritedFrom: HTMLElement.localName

models#

TypeScript#
models: (string)[] | () => (string)[] | null | undefined | null | undefined

The models whose names completion proposes (DslEditorOptions.models).

namespaceURI#

TypeScript#
readonly namespaceURI: string | null

The Element.namespaceURI read-only property returns the namespace URI of the element, or null if the element is not in a namespace.

MDN Reference

inheritedFrom: HTMLElement.namespaceURI

nextElementSibling#

TypeScript#
readonly nextElementSibling: Element | null

Returns the first following sibling that is an element, and null otherwise.

MDN Reference

inheritedFrom: HTMLElement.nextElementSibling

nextSibling#

TypeScript#
readonly nextSibling: ChildNode | null

The read-only nextSibling property of the Node interface returns the node immediately following the specified one in their parent's childNodes, or returns null if the specified node is the last child in the parent element.

MDN Reference

inheritedFrom: HTMLElement.nextSibling

nodeName#

TypeScript#
readonly nodeName: string

The read-only nodeName property of Node returns the name of the current node as a string.

MDN Reference

inheritedFrom: HTMLElement.nodeName

nodeType#

TypeScript#
readonly nodeType: number

The read-only nodeType property of a Node interface is an integer that identifies what the node is. It distinguishes different kinds of nodes from each other, such as elements, text, and comments.

MDN Reference

inheritedFrom: HTMLElement.nodeType

nodeValue#

TypeScript#
nodeValue: string | null

The nodeValue property of the Node interface returns or sets the value of the current node.

MDN Reference

inheritedFrom: HTMLElement.nodeValue

nonce#

TypeScript#
nonce: string

MDN Reference

inheritedFrom: HTMLElement.nonce

NOTATION_NODE#

TypeScript#
readonly NOTATION_NODE: 12

inheritedFrom: HTMLElement.NOTATION_NODE

offsetHeight#

TypeScript#
readonly offsetHeight: number

The offsetHeight read-only property of the HTMLElement interface returns the height of an element, including vertical padding and borders, as an integer.

MDN Reference

inheritedFrom: HTMLElement.offsetHeight

offsetLeft#

TypeScript#
readonly offsetLeft: number

The offsetLeft read-only property of the HTMLElement interface returns the number of pixels that the upper left corner of the current element is offset to the left within the HTMLElement.offsetParent node.

MDN Reference

inheritedFrom: HTMLElement.offsetLeft

offsetParent#

TypeScript#
readonly offsetParent: Element | null

The HTMLElement.offsetParent read-only property returns a reference to the element which is the closest (nearest in the containment hierarchy) positioned ancestor element.

MDN Reference

inheritedFrom: HTMLElement.offsetParent

offsetTop#

TypeScript#
readonly offsetTop: number

The offsetTop read-only property of the HTMLElement interface returns the distance from the outer border of the current element (including its margin) to the top padding edge of the offsetParent, the closest positioned ancestor element.

MDN Reference

inheritedFrom: HTMLElement.offsetTop

offsetWidth#

TypeScript#
readonly offsetWidth: number

The offsetWidth read-only property of the HTMLElement interface returns the layout width of an element as an integer.

MDN Reference

inheritedFrom: HTMLElement.offsetWidth

onabort#

TypeScript#
onabort: (this: GlobalEventHandlers, ev: UIEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onabort

onanimationcancel#

TypeScript#
onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onanimationcancel

onanimationend#

TypeScript#
onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onanimationend

onanimationiteration#

TypeScript#
onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onanimationiteration

onanimationstart#

TypeScript#
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onanimationstart

onauxclick#

TypeScript#
onauxclick: (this: GlobalEventHandlers, ev: PointerEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onauxclick

onbeforeinput#

TypeScript#
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onbeforeinput

onbeforematch#

TypeScript#
onbeforematch: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.onbeforematch

onbeforetoggle#

TypeScript#
onbeforetoggle: (this: GlobalEventHandlers, ev: ToggleEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onbeforetoggle

onblur#

TypeScript#
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onblur

oncancel#

TypeScript#
oncancel: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.oncancel

oncanplay#

TypeScript#
oncanplay: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.oncanplay

oncanplaythrough#

TypeScript#
oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.oncanplaythrough

onchange#

TypeScript#
onchange: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.onchange

onclick#

TypeScript#
onclick: (this: GlobalEventHandlers, ev: PointerEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onclick

onclose#

TypeScript#
onclose: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.onclose

oncommand#

TypeScript#
oncommand: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.oncommand

oncontextlost#

TypeScript#
oncontextlost: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.oncontextlost

oncontextmenu#

TypeScript#
oncontextmenu: (this: GlobalEventHandlers, ev: PointerEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.oncontextmenu

oncontextrestored#

TypeScript#
oncontextrestored: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.oncontextrestored

oncopy#

TypeScript#
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.oncopy

oncuechange#

TypeScript#
oncuechange: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.oncuechange

oncut#

TypeScript#
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.oncut

ondblclick#

TypeScript#
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.ondblclick

ondrag#

TypeScript#
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.ondrag

ondragend#

TypeScript#
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.ondragend

ondragenter#

TypeScript#
ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.ondragenter

ondragleave#

TypeScript#
ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.ondragleave

ondragover#

TypeScript#
ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.ondragover

ondragstart#

TypeScript#
ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.ondragstart

ondrop#

TypeScript#
ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.ondrop

ondurationchange#

TypeScript#
ondurationchange: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.ondurationchange

onemptied#

TypeScript#
onemptied: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.onemptied

onended#

TypeScript#
onended: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.onended

onerror#

TypeScript#
onerror: OnErrorEventHandler

MDN Reference

inheritedFrom: HTMLElement.onerror

onfocus#

TypeScript#
onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onfocus

onformdata#

TypeScript#
onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onformdata

onfullscreenchange#

TypeScript#
onfullscreenchange: (this: Element, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.onfullscreenchange

onfullscreenerror#

TypeScript#
onfullscreenerror: (this: Element, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.onfullscreenerror

ongotpointercapture#

TypeScript#
ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.ongotpointercapture

oninput#

TypeScript#
oninput: (this: GlobalEventHandlers, ev: InputEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.oninput

oninvalid#

TypeScript#
oninvalid: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.oninvalid

onkeydown#

TypeScript#
onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onkeydown

onkeypress#

TypeScript#
onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any | null
Warning

Deprecated: MDN Reference

inheritedFrom: HTMLElement.onkeypress

onkeyup#

TypeScript#
onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onkeyup

onload#

TypeScript#
onload: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.onload

onloadeddata#

TypeScript#
onloadeddata: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.onloadeddata

onloadedmetadata#

TypeScript#
onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.onloadedmetadata

onloadstart#

TypeScript#
onloadstart: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.onloadstart

onlostpointercapture#

TypeScript#
onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onlostpointercapture

onmousedown#

TypeScript#
onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onmousedown

onmouseenter#

TypeScript#
onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onmouseenter

onmouseleave#

TypeScript#
onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onmouseleave

onmousemove#

TypeScript#
onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onmousemove

onmouseout#

TypeScript#
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onmouseout

onmouseover#

TypeScript#
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onmouseover

onmouseup#

TypeScript#
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onmouseup

onpaste#

TypeScript#
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onpaste

onpause#

TypeScript#
onpause: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.onpause

onplay#

TypeScript#
onplay: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.onplay

onplaying#

TypeScript#
onplaying: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.onplaying

onpointercancel#

TypeScript#
onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onpointercancel

onpointerdown#

TypeScript#
onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onpointerdown

onpointerenter#

TypeScript#
onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onpointerenter

onpointerleave#

TypeScript#
onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onpointerleave

onpointermove#

TypeScript#
onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onpointermove

onpointerout#

TypeScript#
onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onpointerout

onpointerover#

TypeScript#
onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onpointerover

onpointerrawupdate#

TypeScript#
onpointerrawupdate: (this: GlobalEventHandlers, ev: Event) => any | null

Available only in secure contexts.

MDN Reference

inheritedFrom: HTMLElement.onpointerrawupdate

onpointerup#

TypeScript#
onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onpointerup

onprogress#

TypeScript#
onprogress: (this: GlobalEventHandlers, ev: ProgressEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onprogress

onratechange#

TypeScript#
onratechange: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.onratechange

onreset#

TypeScript#
onreset: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.onreset

onresize#

TypeScript#
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onresize

onscroll#

TypeScript#
onscroll: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.onscroll

onscrollend#

TypeScript#
onscrollend: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.onscrollend

onsecuritypolicyviolation#

TypeScript#
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onsecuritypolicyviolation

onseeked#

TypeScript#
onseeked: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.onseeked

onseeking#

TypeScript#
onseeking: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.onseeking

onselect#

TypeScript#
onselect: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.onselect

onselectionchange#

TypeScript#
onselectionchange: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.onselectionchange

onselectstart#

TypeScript#
onselectstart: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.onselectstart

onslotchange#

TypeScript#
onslotchange: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.onslotchange

onstalled#

TypeScript#
onstalled: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.onstalled

onsubmit#

TypeScript#
onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onsubmit

onsuspend#

TypeScript#
onsuspend: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.onsuspend

ontimeupdate#

TypeScript#
ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.ontimeupdate

ontoggle#

TypeScript#
ontoggle: (this: GlobalEventHandlers, ev: ToggleEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.ontoggle

ontouchcancel#

TypeScript#
ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.ontouchcancel

ontouchend#

TypeScript#
ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.ontouchend

ontouchmove#

TypeScript#
ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.ontouchmove

ontouchstart#

TypeScript#
ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.ontouchstart

ontransitioncancel#

TypeScript#
ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.ontransitioncancel

ontransitionend#

TypeScript#
ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.ontransitionend

ontransitionrun#

TypeScript#
ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.ontransitionrun

ontransitionstart#

TypeScript#
ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.ontransitionstart

onvolumechange#

TypeScript#
onvolumechange: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.onvolumechange

onwaiting#

TypeScript#
onwaiting: (this: GlobalEventHandlers, ev: Event) => any | null

MDN Reference

inheritedFrom: HTMLElement.onwaiting

onwebkitanimationend#

TypeScript#
onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any | null
Warning

Deprecated: This is a legacy alias of onanimationend.

MDN Reference

inheritedFrom: HTMLElement.onwebkitanimationend

onwebkitanimationiteration#

TypeScript#
onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any | null
Warning

Deprecated: This is a legacy alias of onanimationiteration.

MDN Reference

inheritedFrom: HTMLElement.onwebkitanimationiteration

onwebkitanimationstart#

TypeScript#
onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any | null
Warning

Deprecated: This is a legacy alias of onanimationstart.

MDN Reference

inheritedFrom: HTMLElement.onwebkitanimationstart

onwebkittransitionend#

TypeScript#
onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any | null
Warning

Deprecated: This is a legacy alias of ontransitionend.

MDN Reference

inheritedFrom: HTMLElement.onwebkittransitionend

onwheel#

TypeScript#
onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any | null

MDN Reference

inheritedFrom: HTMLElement.onwheel

outerHTML#

TypeScript#
outerHTML: string

The outerHTML attribute of the Element interface gets or sets the HTML or XML markup of the element and its descendants, omitting any shadow roots in both cases.

MDN Reference

inheritedFrom: HTMLElement.outerHTML

outerText#

TypeScript#
outerText: string

The outerText property of the HTMLElement interface returns the same value as HTMLElement.innerText. When used as a setter it replaces the whole current node with the given text (this differs from innerText, which replaces the content inside the current node).

MDN Reference

inheritedFrom: HTMLElement.outerText

ownerDocument#

TypeScript#
readonly ownerDocument: Document

The read-only ownerDocument property of the Node interface returns the top-level document object of the node.

MDN Reference

inheritedFrom: HTMLElement.ownerDocument

parentElement#

TypeScript#
readonly parentElement: HTMLElement | null

The read-only parentElement property of Node interface returns the DOM node's parent Element, or null if the node either has no parent, or its parent isn't a DOM Element. Node.parentNode on the other hand returns any kind of parent, regardless of its type.

MDN Reference

inheritedFrom: HTMLElement.parentElement

parentNode#

TypeScript#
readonly parentNode: ParentNode | null

The read-only parentNode property of the Node interface returns the parent of the specified node in the DOM tree.

MDN Reference

inheritedFrom: HTMLElement.parentNode

popover#

TypeScript#
popover: string | null

The popover property of the HTMLElement interface gets and sets an element's popover state via JavaScript ("auto", "hint", or "manual"), and can be used for feature detection.

MDN Reference

inheritedFrom: HTMLElement.popover

prefix#

TypeScript#
readonly prefix: string | null

The Element.prefix read-only property returns the namespace prefix of the specified element, or null if no prefix is specified.

MDN Reference

inheritedFrom: HTMLElement.prefix

previousElementSibling#

TypeScript#
readonly previousElementSibling: Element | null

Returns the first preceding sibling that is an element, and null otherwise.

MDN Reference

inheritedFrom: HTMLElement.previousElementSibling

previousSibling#

TypeScript#
readonly previousSibling: ChildNode | null

The read-only previousSibling property of the Node interface returns the node immediately preceding the specified one in its parent's childNodes list, or null if the specified node is the first in that list.

MDN Reference

inheritedFrom: HTMLElement.previousSibling

PROCESSING_INSTRUCTION_NODE#

TypeScript#
readonly PROCESSING_INSTRUCTION_NODE: 7

node is a ProcessingInstruction node.

inheritedFrom: HTMLElement.PROCESSING_INSTRUCTION_NODE

readOnly#

TypeScript#
readOnly: boolean

role#

TypeScript#
role: string | null

MDN Reference

inheritedFrom: HTMLElement.role

scrollHeight#

TypeScript#
readonly scrollHeight: number

The scrollHeight read-only property of the Element interface is a measurement of the height of an element's content, including content not visible on the screen due to overflow.

MDN Reference

inheritedFrom: HTMLElement.scrollHeight

scrollLeft#

TypeScript#
scrollLeft: number

The scrollLeft property of the Element interface gets or sets the number of pixels by which an element's content is scrolled from its left edge. This value is subpixel precise in modern browsers, meaning that it isn't necessarily a whole number.

MDN Reference

inheritedFrom: HTMLElement.scrollLeft

scrollTop#

TypeScript#
scrollTop: number

The scrollTop property of the Element interface gets or sets the number of pixels by which an element's content is scrolled from its top edge. This value is subpixel precise in modern browsers, meaning that it isn't necessarily a whole number.

MDN Reference

inheritedFrom: HTMLElement.scrollTop

scrollWidth#

TypeScript#
readonly scrollWidth: number

The scrollWidth read-only property of the Element interface is a measurement of the width of an element's content, including content not visible on the screen due to overflow.

MDN Reference

inheritedFrom: HTMLElement.scrollWidth

shadowRoot#

TypeScript#
readonly shadowRoot: ShadowRoot | null

The Element.shadowRoot read-only property represents the shadow root hosted by the element.

MDN Reference

inheritedFrom: HTMLElement.shadowRoot

slot#

TypeScript#
slot: string

The slot property of the Element interface returns the name of the shadow DOM slot the element is inserted in.

MDN Reference

inheritedFrom: HTMLElement.slot

spellcheck#

TypeScript#
spellcheck: boolean

The spellcheck property of the HTMLElement interface represents a boolean value that controls the spell-checking hint. It is available on all HTML elements, though it doesn't affect all of them.

MDN Reference

inheritedFrom: HTMLElement.spellcheck

tabIndex#

TypeScript#
tabIndex: number

MDN Reference

inheritedFrom: HTMLElement.tabIndex

tagName#

TypeScript#
readonly tagName: string

The tagName read-only property of the Element interface returns the tag name of the element on which it's called.

MDN Reference

inheritedFrom: HTMLElement.tagName

TEXT_NODE#

TypeScript#
readonly TEXT_NODE: 3

node is a Text node.

inheritedFrom: HTMLElement.TEXT_NODE

title#

TypeScript#
title: string

The HTMLElement.title property represents the title of the element: the text usually displayed in a 'tooltip' popup when the mouse is over the node.

MDN Reference

inheritedFrom: HTMLElement.title

token#

TypeScript#
token: DslToken | () => DslToken | Promise<DslToken>

Never an attribute: a token does not belong in the DOM.

translate#

TypeScript#
translate: boolean

The translate property of the HTMLElement interface indicates whether an element's attribute values and the values of its Text node children are to be translated when the page is localized, or whether to leave them unchanged.

MDN Reference

inheritedFrom: HTMLElement.translate

value#

TypeScript#
value: string

The text; settable before the editor exists.

writingSuggestions#

TypeScript#
writingSuggestions: string

The writingSuggestions property of the HTMLElement interface is a string indicating if browser-provided writing suggestions should be enabled under the scope of the element or not.

MDN Reference

inheritedFrom: HTMLElement.writingSuggestions

classList#

TypeScript#
classList(): DOMTokenList

The read-only classList property of the Element interface contains a live DOMTokenList collection representing the class attribute of the element. This can then be used to manipulate the class list.

MDN Reference

inheritedFrom: HTMLElement.classList

classList#

TypeScript#
classList(value: string): void

inheritedFrom: HTMLElement.classList

Parameters#

Name Type Description
value string

part#

TypeScript#
part(): DOMTokenList

The read-only part property of the Element interface contains a DOMTokenList object representing the part identifier(s) of the element. It reflects the element's part content attribute. These can be used to style parts of a shadow DOM, via the ::part pseudo-element.

MDN Reference

inheritedFrom: HTMLElement.part

part#

TypeScript#
part(value: string): void

inheritedFrom: HTMLElement.part

Parameters#

Name Type Description
value string

style#

TypeScript#
style(): CSSStyleDeclaration

MDN Reference

inheritedFrom: HTMLElement.style

style#

TypeScript#
style(cssText: string): void

inheritedFrom: HTMLElement.style

Parameters#

Name Type Description
cssText string

textContent#

TypeScript#
textContent(): string

MDN Reference

inheritedFrom: HTMLElement.textContent

textContent#

TypeScript#
textContent(value: string | null): void

The textContent property of the Node interface represents the text content of the node and its descendants.

MDN Reference

inheritedFrom: HTMLElement.textContent

Parameters#

Name Type Description
value string | null

addEventListener#

TypeScript#
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void

inheritedFrom: HTMLElement.addEventListener

Type parameters#

Name Constraint Description
K keyof HTMLElementEventMap

Parameters#

Name Type Description
type K
listener (this: HTMLElement, ev: HTMLElementEventMap[K]) => any
options boolean | AddEventListenerOptions

addEventListener#

TypeScript#
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void

inheritedFrom: HTMLElement.addEventListener

Parameters#

Name Type Description
type string
listener EventListenerOrEventListenerObject
options boolean | AddEventListenerOptions

after#

TypeScript#
after(...nodes: (string | Node)[]): void

Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes.

Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

MDN Reference

inheritedFrom: HTMLElement.after

Parameters#

Name Type Description
nodes (string | Node)[]

animate#

TypeScript#
animate(keyframes: PropertyIndexedKeyframes | (Keyframe)[] | null, options?: number | KeyframeAnimationOptions): Animation

MDN Reference

inheritedFrom: HTMLElement.animate

Parameters#

Name Type Description
keyframes PropertyIndexedKeyframes | (Keyframe)[] | null
options number | KeyframeAnimationOptions

append#

TypeScript#
append(...nodes: (string | Node)[]): void

Inserts nodes after the last child of node, while replacing strings in nodes with equivalent Text nodes.

Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

MDN Reference

inheritedFrom: HTMLElement.append

Parameters#

Name Type Description
nodes (string | Node)[]

appendChild#

TypeScript#
appendChild<T extends Node>(node: T): T

The appendChild() method of the Node interface adds a node to the end of the list of children of a specified parent node.

MDN Reference

inheritedFrom: HTMLElement.appendChild

Type parameters#

Name Constraint Description
T Node

Parameters#

Name Type Description
node T

attachInternals#

TypeScript#
attachInternals(): ElementInternals

The HTMLElement.attachInternals() method returns an ElementInternals object. This method allows a custom element to participate in HTML forms. The ElementInternals interface provides utilities for working with these elements in the same way you would work with any standard HTML form element, and also exposes the Accessibility Object Model to the element.

MDN Reference

inheritedFrom: HTMLElement.attachInternals

attachShadow#

TypeScript#
attachShadow(init: ShadowRootInit): ShadowRoot

The Element.attachShadow() method attaches a shadow DOM tree to the specified element and returns a reference to its ShadowRoot.

MDN Reference

inheritedFrom: HTMLElement.attachShadow

Parameters#

Name Type Description
init ShadowRootInit

before#

TypeScript#
before(...nodes: (string | Node)[]): void

Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes.

Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

MDN Reference

inheritedFrom: HTMLElement.before

Parameters#

Name Type Description
nodes (string | Node)[]

blur#

TypeScript#
blur(): void

MDN Reference

inheritedFrom: HTMLElement.blur

checkVisibility#

TypeScript#
checkVisibility(options?: CheckVisibilityOptions): boolean

The checkVisibility() method of the Element interface checks whether the element is visible.

MDN Reference

inheritedFrom: HTMLElement.checkVisibility

Parameters#

Name Type Description
options CheckVisibilityOptions

click#

TypeScript#
click(): void

The HTMLElement.click() method simulates a mouse click on an element. When called on an element, the element's click event is fired (unless its disabled attribute is set).

MDN Reference

inheritedFrom: HTMLElement.click

cloneNode#

TypeScript#
cloneNode(subtree?: boolean): Node

The cloneNode() method of the Node interface returns a duplicate of the node on which this method was called. Its parameter controls if the subtree contained in the node is also cloned or not.

MDN Reference

inheritedFrom: HTMLElement.cloneNode

Parameters#

Name Type Description
subtree boolean

closest#

TypeScript#
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null

The closest() method of the Element interface traverses the element and its parents (heading toward the document root) until it finds a node that matches the specified CSS selector.

MDN Reference

inheritedFrom: HTMLElement.closest

Type parameters#

Name Constraint Description
K keyof HTMLElementTagNameMap

Parameters#

Name Type Description
selector K

closest#

TypeScript#
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null

inheritedFrom: HTMLElement.closest

Type parameters#

Name Constraint Description
K keyof SVGElementTagNameMap

Parameters#

Name Type Description
selector K

closest#

TypeScript#
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null

inheritedFrom: HTMLElement.closest

Type parameters#

Name Constraint Description
K keyof MathMLElementTagNameMap

Parameters#

Name Type Description
selector K

closest#

TypeScript#
closest<E extends Element = Element>(selectors: string): E | null

inheritedFrom: HTMLElement.closest

Type parameters#

Name Constraint Description
E Element

Parameters#

Name Type Description
selectors string

compareDocumentPosition#

TypeScript#
compareDocumentPosition(other: Node): number

The compareDocumentPosition() method of the Node interface reports the position of its argument node relative to the node on which it is called.

MDN Reference

inheritedFrom: HTMLElement.compareDocumentPosition

Parameters#

Name Type Description
other Node

computedStyleMap#

TypeScript#
computedStyleMap(): StylePropertyMapReadOnly

The computedStyleMap() method of the Element interface returns a StylePropertyMapReadOnly interface which provides a read-only representation of a CSS declaration block that is an alternative to CSSStyleDeclaration.

MDN Reference

inheritedFrom: HTMLElement.computedStyleMap

contains#

TypeScript#
contains(other: Node | null): boolean

The contains() method of the Node interface returns a boolean value indicating whether a node is a descendant of a given node, that is the node itself, one of its direct children (childNodes), one of the children's direct children, and so on.

MDN Reference

inheritedFrom: HTMLElement.contains

Parameters#

Name Type Description
other Node | null

dispatchEvent#

TypeScript#
dispatchEvent(event: Event): boolean

The dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order. The normal event processing rules (including the capturing and optional bubbling phase) also apply to events dispatched manually with dispatchEvent().

MDN Reference

inheritedFrom: HTMLElement.dispatchEvent

Parameters#

Name Type Description
event Event

focus#

TypeScript#
focus(options?: FocusOptions): void

MDN Reference

inheritedFrom: HTMLElement.focus

Parameters#

Name Type Description
options FocusOptions

getAnimations#

TypeScript#
getAnimations(options?: GetAnimationsOptions): (Animation)[]

MDN Reference

inheritedFrom: HTMLElement.getAnimations

Parameters#

Name Type Description
options GetAnimationsOptions

getAttribute#

TypeScript#
getAttribute(qualifiedName: string): string | null

The getAttribute() method of the Element interface returns the value of a specified attribute on the element.

MDN Reference

inheritedFrom: HTMLElement.getAttribute

Parameters#

Name Type Description
qualifiedName string

getAttributeNames#

TypeScript#
getAttributeNames(): (string)[]

The getAttributeNames() method of the Element interface returns the attribute names of the element as an Array of strings. If the element has no attributes it returns an empty array.

MDN Reference

inheritedFrom: HTMLElement.getAttributeNames

getAttributeNode#

TypeScript#
getAttributeNode(qualifiedName: string): Attr | null

Returns the specified attribute of the specified element, as an Attr node.

MDN Reference

inheritedFrom: HTMLElement.getAttributeNode

Parameters#

Name Type Description
qualifiedName string

getAttributeNodeNS#

TypeScript#
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null

The getAttributeNodeNS() method of the Element interface returns the namespaced Attr node of an element.

MDN Reference

inheritedFrom: HTMLElement.getAttributeNodeNS

Parameters#

Name Type Description
namespace string | null
localName string

getAttributeNS#

TypeScript#
getAttributeNS(namespace: string | null, localName: string): string | null

The getAttributeNS() method of the Element interface returns the string value of the attribute with the specified namespace and name. If the named attribute does not exist, the value returned will either be null or "" (the empty string); see Notes for details.

MDN Reference

inheritedFrom: HTMLElement.getAttributeNS

Parameters#

Name Type Description
namespace string | null
localName string

getBoundingClientRect#

TypeScript#
getBoundingClientRect(): DOMRect

The Element.getBoundingClientRect() method returns a DOMRect object providing information about the size of an element and its position relative to the viewport.

MDN Reference

inheritedFrom: HTMLElement.getBoundingClientRect

getClientRects#

TypeScript#
getClientRects(): DOMRectList

The getClientRects() method of the Element interface returns a collection of DOMRect objects that indicate the bounding rectangles for each CSS border box in a client.

MDN Reference

inheritedFrom: HTMLElement.getClientRects

getElementsByClassName#

TypeScript#
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>

The Element method getElementsByClassName() returns a live HTMLCollection which contains every descendant element which has the specified class name or names.

MDN Reference

inheritedFrom: HTMLElement.getElementsByClassName

Parameters#

Name Type Description
classNames string

getElementsByTagName#

TypeScript#
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>

The Element.getElementsByTagName() method returns a live HTMLCollection of elements with the given tag name.

MDN Reference

inheritedFrom: HTMLElement.getElementsByTagName

Type parameters#

Name Constraint Description
K keyof HTMLElementTagNameMap

Parameters#

Name Type Description
qualifiedName K

getElementsByTagName#

TypeScript#
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>

inheritedFrom: HTMLElement.getElementsByTagName

Type parameters#

Name Constraint Description
K keyof SVGElementTagNameMap

Parameters#

Name Type Description
qualifiedName K

getElementsByTagName#

TypeScript#
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>

inheritedFrom: HTMLElement.getElementsByTagName

Type parameters#

Name Constraint Description
K keyof MathMLElementTagNameMap

Parameters#

Name Type Description
qualifiedName K

getElementsByTagName#

TypeScript#
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>

inheritedFrom: HTMLElement.getElementsByTagName

Type parameters#

Name Constraint Description
K keyof HTMLElementDeprecatedTagNameMap

Parameters#

Name Type Description
qualifiedName K

getElementsByTagName#

TypeScript#
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>

inheritedFrom: HTMLElement.getElementsByTagName

Parameters#

Name Type Description
qualifiedName string

getElementsByTagNameNS#

TypeScript#
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>

The Element.getElementsByTagNameNS() method returns a live HTMLCollection of elements with the given tag name belonging to the given namespace. It is similar to Document.getElementsByTagNameNS, except that its search is restricted to descendants of the specified element.

MDN Reference

inheritedFrom: HTMLElement.getElementsByTagNameNS

Parameters#

Name Type Description
namespaceURI "http://www.w3.org/1999/xhtml"
localName string

getElementsByTagNameNS#

TypeScript#
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>

inheritedFrom: HTMLElement.getElementsByTagNameNS

Parameters#

Name Type Description
namespaceURI "http://www.w3.org/2000/svg"
localName string

getElementsByTagNameNS#

TypeScript#
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>

inheritedFrom: HTMLElement.getElementsByTagNameNS

Parameters#

Name Type Description
namespaceURI "http://www.w3.org/1998/Math/MathML"
localName string

getElementsByTagNameNS#

TypeScript#
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>

inheritedFrom: HTMLElement.getElementsByTagNameNS

Parameters#

Name Type Description
namespace string | null
localName string

getHTML#

TypeScript#
getHTML(options?: GetHTMLOptions): string

The getHTML() method of the Element interface is used to serialize an element's DOM to an HTML string.

MDN Reference

inheritedFrom: HTMLElement.getHTML

Parameters#

Name Type Description
options GetHTMLOptions

getRootNode#

TypeScript#
getRootNode(options?: GetRootNodeOptions): Node

The getRootNode() method of the Node interface returns the context object's root, which optionally includes the shadow root if it is available.

MDN Reference

inheritedFrom: HTMLElement.getRootNode

Parameters#

Name Type Description
options GetRootNodeOptions

hasAttribute#

TypeScript#
hasAttribute(qualifiedName: string): boolean

The Element.hasAttribute() method returns a Boolean value indicating whether the specified element has the specified attribute or not.

MDN Reference

inheritedFrom: HTMLElement.hasAttribute

Parameters#

Name Type Description
qualifiedName string

hasAttributeNS#

TypeScript#
hasAttributeNS(namespace: string | null, localName: string): boolean

The hasAttributeNS() method of the Element interface returns a boolean value indicating whether the current element has the specified attribute with the specified namespace.

MDN Reference

inheritedFrom: HTMLElement.hasAttributeNS

Parameters#

Name Type Description
namespace string | null
localName string

hasAttributes#

TypeScript#
hasAttributes(): boolean

The hasAttributes() method of the Element interface returns a boolean value indicating whether the current element has any attributes or not.

MDN Reference

inheritedFrom: HTMLElement.hasAttributes

hasChildNodes#

TypeScript#
hasChildNodes(): boolean

The hasChildNodes() method of the Node interface returns a boolean value indicating whether the given Node has child nodes or not.

MDN Reference

inheritedFrom: HTMLElement.hasChildNodes

hasPointerCapture#

TypeScript#
hasPointerCapture(pointerId: number): boolean

The hasPointerCapture() method of the Element interface checks whether the element on which it is invoked has pointer capture for the pointer identified by the given pointer ID.

MDN Reference

inheritedFrom: HTMLElement.hasPointerCapture

Parameters#

Name Type Description
pointerId number

hidePopover#

TypeScript#
hidePopover(): void

The hidePopover() method of the HTMLElement interface hides a popover element (i.e., one that has a valid popover attribute) by removing it from the top layer and styling it with display: none.

MDN Reference

inheritedFrom: HTMLElement.hidePopover

insertAdjacentElement#

TypeScript#
insertAdjacentElement(where: InsertPosition, element: Element): Element | null

The insertAdjacentElement() method of the Element interface inserts a given element node at a given position relative to the element it is invoked upon.

MDN Reference

inheritedFrom: HTMLElement.insertAdjacentElement

Parameters#

Name Type Description
where InsertPosition
element Element

insertAdjacentHTML#

TypeScript#
insertAdjacentHTML(position: InsertPosition, string: string): void

The insertAdjacentHTML() method of the Element interface parses the specified input as HTML or XML and inserts the resulting nodes into the DOM tree at a specified position.

MDN Reference

inheritedFrom: HTMLElement.insertAdjacentHTML

Parameters#

Name Type Description
position InsertPosition
string string

insertAdjacentText#

TypeScript#
insertAdjacentText(where: InsertPosition, data: string): void

The insertAdjacentText() method of the Element interface, given a relative position and a string, inserts a new text node at the given position relative to the element it is called from.

MDN Reference

inheritedFrom: HTMLElement.insertAdjacentText

Parameters#

Name Type Description
where InsertPosition
data string

insertBefore#

TypeScript#
insertBefore<T extends Node>(node: T, child: Node | null): T

The insertBefore() method of the Node interface inserts a node before a reference node as a child of a specified parent node.

MDN Reference

inheritedFrom: HTMLElement.insertBefore

Type parameters#

Name Constraint Description
T Node

Parameters#

Name Type Description
node T
child Node | null

isDefaultNamespace#

TypeScript#
isDefaultNamespace(namespace: string | null): boolean

The isDefaultNamespace() method of the Node interface accepts a namespace URI as an argument. It returns a boolean value that is true if the namespace is the default namespace on the given node and false if not. The default namespace can be retrieved with Node.lookupNamespaceURI() by passing null as the argument.

MDN Reference

inheritedFrom: HTMLElement.isDefaultNamespace

Parameters#

Name Type Description
namespace string | null

isEqualNode#

TypeScript#
isEqualNode(otherNode: Node | null): boolean

The isEqualNode() method of the Node interface tests whether two nodes are equal. Two nodes are equal when they have the same type, defining characteristics (for elements, this would be their ID, number of children, and so forth), its attributes match, and so on. The specific set of data points that must match varies depending on the types of the nodes.

MDN Reference

inheritedFrom: HTMLElement.isEqualNode

Parameters#

Name Type Description
otherNode Node | null

isSameNode#

TypeScript#
isSameNode(otherNode: Node | null): boolean

The isSameNode() method of the Node interface is a legacy alias the for the === strict equality operator. That is, it tests whether two nodes are the same (in other words, whether they reference the same object).

MDN Reference

inheritedFrom: HTMLElement.isSameNode

Parameters#

Name Type Description
otherNode Node | null

lookupNamespaceURI#

TypeScript#
lookupNamespaceURI(prefix: string | null): string | null

The lookupNamespaceURI() method of the Node interface takes a prefix as parameter and returns the namespace URI associated with it on the given node if found (and null if not). This method's existence allows Node objects to be passed as a namespace resolver to XPathEvaluator.createExpression() and XPathEvaluator.evaluate().

MDN Reference

inheritedFrom: HTMLElement.lookupNamespaceURI

Parameters#

Name Type Description
prefix string | null

lookupPrefix#

TypeScript#
lookupPrefix(namespace: string | null): string | null

The lookupPrefix() method of the Node interface returns a string containing the prefix for a given namespace URI, if present, and null if not. When multiple prefixes are possible, the first prefix is returned.

MDN Reference

inheritedFrom: HTMLElement.lookupPrefix

Parameters#

Name Type Description
namespace string | null

matches#

TypeScript#
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K]

The matches() method of the Element interface tests whether the element would be selected by the specified CSS selector.

MDN Reference

inheritedFrom: HTMLElement.matches

Type parameters#

Name Constraint Description
K keyof HTMLElementTagNameMap

Parameters#

Name Type Description
selectors K

matches#

TypeScript#
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K]

inheritedFrom: HTMLElement.matches

Type parameters#

Name Constraint Description
K keyof SVGElementTagNameMap

Parameters#

Name Type Description
selectors K

matches#

TypeScript#
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K]

inheritedFrom: HTMLElement.matches

Type parameters#

Name Constraint Description
K keyof MathMLElementTagNameMap

Parameters#

Name Type Description
selectors K

matches#

TypeScript#
matches(selectors: string): boolean

inheritedFrom: HTMLElement.matches

Parameters#

Name Type Description
selectors string

moveBefore#

TypeScript#
moveBefore(node: Node, child: Node | null): void

MDN Reference

inheritedFrom: HTMLElement.moveBefore

Parameters#

Name Type Description
node Node
child Node | null

normalize#

TypeScript#
normalize(): void

The normalize() method of the Node interface puts the specified node and all of its sub-tree into a normalized form. In a normalized sub-tree, no text nodes in the sub-tree are empty and there are no adjacent text nodes.

MDN Reference

inheritedFrom: HTMLElement.normalize

prepend#

TypeScript#
prepend(...nodes: (string | Node)[]): void

Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.

Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

MDN Reference

inheritedFrom: HTMLElement.prepend

Parameters#

Name Type Description
nodes (string | Node)[]

querySelector#

TypeScript#
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null

Returns the first element that is a descendant of node that matches selectors.

MDN Reference

inheritedFrom: HTMLElement.querySelector

Type parameters#

Name Constraint Description
K keyof HTMLElementTagNameMap

Parameters#

Name Type Description
selectors K

querySelector#

TypeScript#
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null

inheritedFrom: HTMLElement.querySelector

Type parameters#

Name Constraint Description
K keyof SVGElementTagNameMap

Parameters#

Name Type Description
selectors K

querySelector#

TypeScript#
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null

inheritedFrom: HTMLElement.querySelector

Type parameters#

Name Constraint Description
K keyof MathMLElementTagNameMap

Parameters#

Name Type Description
selectors K

querySelector#

TypeScript#
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null

inheritedFrom: HTMLElement.querySelector

Type parameters#

Name Constraint Description
K keyof HTMLElementDeprecatedTagNameMap

Parameters#

Name Type Description
selectors K

querySelector#

TypeScript#
querySelector<E extends Element = Element>(selectors: string): E | null

inheritedFrom: HTMLElement.querySelector

Type parameters#

Name Constraint Description
E Element

Parameters#

Name Type Description
selectors string

querySelectorAll#

TypeScript#
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>

Returns all element descendants of node that match selectors.

MDN Reference

inheritedFrom: HTMLElement.querySelectorAll

Type parameters#

Name Constraint Description
K keyof HTMLElementTagNameMap

Parameters#

Name Type Description
selectors K

querySelectorAll#

TypeScript#
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>

inheritedFrom: HTMLElement.querySelectorAll

Type parameters#

Name Constraint Description
K keyof SVGElementTagNameMap

Parameters#

Name Type Description
selectors K

querySelectorAll#

TypeScript#
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>

inheritedFrom: HTMLElement.querySelectorAll

Type parameters#

Name Constraint Description
K keyof MathMLElementTagNameMap

Parameters#

Name Type Description
selectors K

querySelectorAll#

TypeScript#
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>

inheritedFrom: HTMLElement.querySelectorAll

Type parameters#

Name Constraint Description
K keyof HTMLElementDeprecatedTagNameMap

Parameters#

Name Type Description
selectors K

querySelectorAll#

TypeScript#
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>

inheritedFrom: HTMLElement.querySelectorAll

Type parameters#

Name Constraint Description
E Element

Parameters#

Name Type Description
selectors string

releasePointerCapture#

TypeScript#
releasePointerCapture(pointerId: number): void

The releasePointerCapture() method of the Element interface releases (stops) pointer capture that was previously set for a specific (PointerEvent) pointer.

MDN Reference

inheritedFrom: HTMLElement.releasePointerCapture

Parameters#

Name Type Description
pointerId number

remove#

TypeScript#
remove(): void

Removes node.

MDN Reference

inheritedFrom: HTMLElement.remove

removeAttribute#

TypeScript#
removeAttribute(qualifiedName: string): void

The Element method removeAttribute() removes the attribute with the specified name from the element.

MDN Reference

inheritedFrom: HTMLElement.removeAttribute

Parameters#

Name Type Description
qualifiedName string

removeAttributeNode#

TypeScript#
removeAttributeNode(attr: Attr): Attr

The removeAttributeNode() method of the Element interface removes the specified Attr node from the element.

MDN Reference

inheritedFrom: HTMLElement.removeAttributeNode

Parameters#

Name Type Description
attr Attr

removeAttributeNS#

TypeScript#
removeAttributeNS(namespace: string | null, localName: string): void

The removeAttributeNS() method of the Element interface removes the specified attribute with the specified namespace from an element.

MDN Reference

inheritedFrom: HTMLElement.removeAttributeNS

Parameters#

Name Type Description
namespace string | null
localName string

removeChild#

TypeScript#
removeChild<T extends Node>(child: T): T

The removeChild() method of the Node interface removes a child node from the DOM and returns the removed node.

MDN Reference

inheritedFrom: HTMLElement.removeChild

Type parameters#

Name Constraint Description
T Node

Parameters#

Name Type Description
child T

removeEventListener#

TypeScript#
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void

inheritedFrom: HTMLElement.removeEventListener

Type parameters#

Name Constraint Description
K keyof HTMLElementEventMap

Parameters#

Name Type Description
type K
listener (this: HTMLElement, ev: HTMLElementEventMap[K]) => any
options boolean | EventListenerOptions

removeEventListener#

TypeScript#
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void

inheritedFrom: HTMLElement.removeEventListener

Parameters#

Name Type Description
type string
listener EventListenerOrEventListenerObject
options boolean | EventListenerOptions

replaceChild#

TypeScript#
replaceChild<T extends Node>(node: Node, child: T): T

The replaceChild() method of the Node interface replaces a child node within the given (parent) node.

MDN Reference

inheritedFrom: HTMLElement.replaceChild

Type parameters#

Name Constraint Description
T Node

Parameters#

Name Type Description
node Node
child T

replaceChildren#

TypeScript#
replaceChildren(...nodes: (string | Node)[]): void

Replace all children of node with nodes, while replacing strings in nodes with equivalent Text nodes.

Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

MDN Reference

inheritedFrom: HTMLElement.replaceChildren

Parameters#

Name Type Description
nodes (string | Node)[]

replaceWith#

TypeScript#
replaceWith(...nodes: (string | Node)[]): void

Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes.

Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

MDN Reference

inheritedFrom: HTMLElement.replaceWith

Parameters#

Name Type Description
nodes (string | Node)[]

requestFullscreen#

TypeScript#
requestFullscreen(options?: FullscreenOptions): Promise<void>

The Element.requestFullscreen() method issues an asynchronous request to make the element be displayed in fullscreen mode.

MDN Reference

inheritedFrom: HTMLElement.requestFullscreen

Parameters#

Name Type Description
options FullscreenOptions

requestPointerLock#

TypeScript#
requestPointerLock(options?: PointerLockOptions): Promise<void>

The requestPointerLock() method of the Element interface lets you asynchronously ask for the pointer to be locked on the given element.

MDN Reference

inheritedFrom: HTMLElement.requestPointerLock

Parameters#

Name Type Description
options PointerLockOptions

scroll#

TypeScript#
scroll(options?: ScrollToOptions): void

The scroll() method of the Element interface scrolls the element to a particular set of coordinates inside a given element.

MDN Reference

inheritedFrom: HTMLElement.scroll

Parameters#

Name Type Description
options ScrollToOptions

scroll#

TypeScript#
scroll(x: number, y: number): void

inheritedFrom: HTMLElement.scroll

Parameters#

Name Type Description
x number
y number

scrollBy#

TypeScript#
scrollBy(options?: ScrollToOptions): void

The scrollBy() method of the Element interface scrolls an element by the given amount.

MDN Reference

inheritedFrom: HTMLElement.scrollBy

Parameters#

Name Type Description
options ScrollToOptions

scrollBy#

TypeScript#
scrollBy(x: number, y: number): void

inheritedFrom: HTMLElement.scrollBy

Parameters#

Name Type Description
x number
y number

scrollIntoView#

TypeScript#
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void

The Element interface's scrollIntoView() method scrolls the element's ancestor containers such that the element on which scrollIntoView() is called is visible to the user.

MDN Reference

inheritedFrom: HTMLElement.scrollIntoView

Parameters#

Name Type Description
arg boolean | ScrollIntoViewOptions

scrollTo#

TypeScript#
scrollTo(options?: ScrollToOptions): void

The scrollTo() method of the Element interface scrolls to a particular set of coordinates inside a given element.

MDN Reference

inheritedFrom: HTMLElement.scrollTo

Parameters#

Name Type Description
options ScrollToOptions

scrollTo#

TypeScript#
scrollTo(x: number, y: number): void

inheritedFrom: HTMLElement.scrollTo

Parameters#

Name Type Description
x number
y number

setAttribute#

TypeScript#
setAttribute(qualifiedName: string, value: string): void

The setAttribute() method of the Element interface sets the value of an attribute on the specified element. If the attribute already exists, the value is updated; otherwise a new attribute is added with the specified name and value.

MDN Reference

inheritedFrom: HTMLElement.setAttribute

Parameters#

Name Type Description
qualifiedName string
value string

setAttributeNode#

TypeScript#
setAttributeNode(attr: Attr): Attr | null

The setAttributeNode() method of the Element interface adds a new Attr node to the specified element.

MDN Reference

inheritedFrom: HTMLElement.setAttributeNode

Parameters#

Name Type Description
attr Attr

setAttributeNodeNS#

TypeScript#
setAttributeNodeNS(attr: Attr): Attr | null

The setAttributeNodeNS() method of the Element interface adds a new namespaced Attr node to an element.

MDN Reference

inheritedFrom: HTMLElement.setAttributeNodeNS

Parameters#

Name Type Description
attr Attr

setAttributeNS#

TypeScript#
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void

The setAttributeNS() method of the Element interface adds a new attribute or changes the value of an attribute with the given namespace and name.

MDN Reference

inheritedFrom: HTMLElement.setAttributeNS

Parameters#

Name Type Description
namespace string | null
qualifiedName string
value string

setHTMLUnsafe#

TypeScript#
setHTMLUnsafe(html: string): void

The setHTMLUnsafe() method of the Element interface is used to parse HTML input into a DocumentFragment, optionally filtering out unwanted elements and attributes, and those that don't belong in the context, and then using it to replace the element's subtree in the DOM.

MDN Reference

inheritedFrom: HTMLElement.setHTMLUnsafe

Parameters#

Name Type Description
html string

setPointerCapture#

TypeScript#
setPointerCapture(pointerId: number): void

The setPointerCapture() method of the Element interface is used to designate a specific element as the capture target of future pointer events. Subsequent events for the pointer will be targeted at the capture element until capture is released (via Element.releasePointerCapture() or the pointerup event is fired).

MDN Reference

inheritedFrom: HTMLElement.setPointerCapture

Parameters#

Name Type Description
pointerId number

showPopover#

TypeScript#
showPopover(options?: ShowPopoverOptions): void

The showPopover() method of the HTMLElement interface shows a popover element (i.e., one that has a valid popover attribute) by adding it to the top layer.

MDN Reference

inheritedFrom: HTMLElement.showPopover

Parameters#

Name Type Description
options ShowPopoverOptions

toggleAttribute#

TypeScript#
toggleAttribute(qualifiedName: string, force?: boolean): boolean

The toggleAttribute() method of the Element interface toggles a Boolean attribute (removing it if it is present and adding it if it is not present) on the given element.

MDN Reference

inheritedFrom: HTMLElement.toggleAttribute

Parameters#

Name Type Description
qualifiedName string
force boolean

togglePopover#

TypeScript#
togglePopover(options?: boolean | TogglePopoverOptions): boolean

The togglePopover() method of the HTMLElement interface toggles a popover element (i.e., one that has a valid popover attribute) between the hidden and showing states.

MDN Reference

inheritedFrom: HTMLElement.togglePopover

Parameters#

Name Type Description
options boolean | TogglePopoverOptions

webkitMatchesSelector#

TypeScript#
webkitMatchesSelector(selectors: string): boolean
Warning

Deprecated: This is a legacy alias of matches.

MDN Reference

inheritedFrom: HTMLElement.webkitMatchesSelector

Parameters#

Name Type Description
selectors string