DslEditorElement
Interface in @bimworks/dsleditor.
API catalogue · @bimworks/dsleditor · Interface
interface DslEditorElementInheritance 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#
accessKey: stringThe HTMLElement.accessKey property sets the keystroke which a user can press to jump to a given element.
inheritedFrom: HTMLElement.accessKey
accessKeyLabel#
readonly accessKeyLabel: stringThe HTMLElement.accessKeyLabel read-only property returns a string containing the element's browser-assigned access key (if any); otherwise it returns an empty string.
inheritedFrom: HTMLElement.accessKeyLabel
ariaActiveDescendantElement#
ariaActiveDescendantElement: Element | nullinheritedFrom: HTMLElement.ariaActiveDescendantElement
ariaAtomic#
ariaAtomic: string | nullinheritedFrom: HTMLElement.ariaAtomic
ariaAutoComplete#
ariaAutoComplete: string | nullinheritedFrom: HTMLElement.ariaAutoComplete
ariaBrailleLabel#
ariaBrailleLabel: string | nullinheritedFrom: HTMLElement.ariaBrailleLabel
ariaBrailleRoleDescription#
ariaBrailleRoleDescription: string | nullinheritedFrom: HTMLElement.ariaBrailleRoleDescription
ariaBusy#
ariaBusy: string | nullinheritedFrom: HTMLElement.ariaBusy
ariaChecked#
ariaChecked: string | nullinheritedFrom: HTMLElement.ariaChecked
ariaColCount#
ariaColCount: string | nullinheritedFrom: HTMLElement.ariaColCount
ariaColIndex#
ariaColIndex: string | nullinheritedFrom: HTMLElement.ariaColIndex
ariaColIndexText#
ariaColIndexText: string | nullinheritedFrom: HTMLElement.ariaColIndexText
ariaColSpan#
ariaColSpan: string | nullinheritedFrom: HTMLElement.ariaColSpan
ariaControlsElements#
ariaControlsElements: readonly (Element)[] | nullinheritedFrom: HTMLElement.ariaControlsElements
ariaCurrent#
ariaCurrent: string | nullinheritedFrom: HTMLElement.ariaCurrent
ariaDescribedByElements#
ariaDescribedByElements: readonly (Element)[] | nullinheritedFrom: HTMLElement.ariaDescribedByElements
ariaDescription#
ariaDescription: string | nullinheritedFrom: HTMLElement.ariaDescription
ariaDetailsElements#
ariaDetailsElements: readonly (Element)[] | nullinheritedFrom: HTMLElement.ariaDetailsElements
ariaDisabled#
ariaDisabled: string | nullinheritedFrom: HTMLElement.ariaDisabled
ariaErrorMessageElements#
ariaErrorMessageElements: readonly (Element)[] | nullinheritedFrom: HTMLElement.ariaErrorMessageElements
ariaExpanded#
ariaExpanded: string | nullinheritedFrom: HTMLElement.ariaExpanded
ariaFlowToElements#
ariaFlowToElements: readonly (Element)[] | nullinheritedFrom: HTMLElement.ariaFlowToElements
ariaHasPopup#
ariaHasPopup: string | nullinheritedFrom: HTMLElement.ariaHasPopup
ariaHidden#
ariaHidden: string | nullinheritedFrom: HTMLElement.ariaHidden
ariaInvalid#
ariaInvalid: string | nullinheritedFrom: HTMLElement.ariaInvalid
ariaKeyShortcuts#
ariaKeyShortcuts: string | nullinheritedFrom: HTMLElement.ariaKeyShortcuts
ariaLabel#
ariaLabel: string | nullinheritedFrom: HTMLElement.ariaLabel
ariaLabelledByElements#
ariaLabelledByElements: readonly (Element)[] | nullinheritedFrom: HTMLElement.ariaLabelledByElements
ariaLevel#
ariaLevel: string | nullinheritedFrom: HTMLElement.ariaLevel
ariaLive#
ariaLive: string | nullinheritedFrom: HTMLElement.ariaLive
ariaModal#
ariaModal: string | nullinheritedFrom: HTMLElement.ariaModal
ariaMultiLine#
ariaMultiLine: string | nullinheritedFrom: HTMLElement.ariaMultiLine
ariaMultiSelectable#
ariaMultiSelectable: string | nullinheritedFrom: HTMLElement.ariaMultiSelectable
ariaOrientation#
ariaOrientation: string | nullinheritedFrom: HTMLElement.ariaOrientation
ariaOwnsElements#
ariaOwnsElements: readonly (Element)[] | nullinheritedFrom: HTMLElement.ariaOwnsElements
ariaPlaceholder#
ariaPlaceholder: string | nullinheritedFrom: HTMLElement.ariaPlaceholder
ariaPosInSet#
ariaPosInSet: string | nullinheritedFrom: HTMLElement.ariaPosInSet
ariaPressed#
ariaPressed: string | nullinheritedFrom: HTMLElement.ariaPressed
ariaReadOnly#
ariaReadOnly: string | nullinheritedFrom: HTMLElement.ariaReadOnly
ariaRelevant#
ariaRelevant: string | nullinheritedFrom: HTMLElement.ariaRelevant
ariaRequired#
ariaRequired: string | nullinheritedFrom: HTMLElement.ariaRequired
ariaRoleDescription#
ariaRoleDescription: string | nullinheritedFrom: HTMLElement.ariaRoleDescription
ariaRowCount#
ariaRowCount: string | nullinheritedFrom: HTMLElement.ariaRowCount
ariaRowIndex#
ariaRowIndex: string | nullinheritedFrom: HTMLElement.ariaRowIndex
ariaRowIndexText#
ariaRowIndexText: string | nullinheritedFrom: HTMLElement.ariaRowIndexText
ariaRowSpan#
ariaRowSpan: string | nullinheritedFrom: HTMLElement.ariaRowSpan
ariaSelected#
ariaSelected: string | nullinheritedFrom: HTMLElement.ariaSelected
ariaSetSize#
ariaSetSize: string | nullinheritedFrom: HTMLElement.ariaSetSize
ariaSort#
ariaSort: string | nullinheritedFrom: HTMLElement.ariaSort
ariaValueMax#
ariaValueMax: string | nullinheritedFrom: HTMLElement.ariaValueMax
ariaValueMin#
ariaValueMin: string | nullinheritedFrom: HTMLElement.ariaValueMin
ariaValueNow#
ariaValueNow: string | nullinheritedFrom: HTMLElement.ariaValueNow
ariaValueText#
ariaValueText: string | nullinheritedFrom: HTMLElement.ariaValueText
assignedSlot#
readonly assignedSlot: HTMLSlotElement | nullinheritedFrom: HTMLElement.assignedSlot
ATTRIBUTE_NODE#
readonly ATTRIBUTE_NODE: 2inheritedFrom: HTMLElement.ATTRIBUTE_NODE
attributes#
readonly attributes: NamedNodeMapThe 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.
inheritedFrom: HTMLElement.attributes
attributeStyleMap#
readonly attributeStyleMap: StylePropertyMapinheritedFrom: HTMLElement.attributeStyleMap
autocapitalize#
autocapitalize: stringThe 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:
inheritedFrom: HTMLElement.autocapitalize
autocorrect#
autocorrect: booleanThe autocorrect property of the HTMLElement interface controls whether or not autocorrection of editable text is enabled for spelling and/or punctuation errors.
inheritedFrom: HTMLElement.autocorrect
autofocus#
autofocus: booleaninheritedFrom: HTMLElement.autofocus
baseURI#
readonly baseURI: stringThe read-only baseURI property of the Node interface returns the absolute base URL of the document containing the node.
inheritedFrom: HTMLElement.baseURI
CDATA_SECTION_NODE#
readonly CDATA_SECTION_NODE: 4node is a CDATASection node.
inheritedFrom: HTMLElement.CDATA_SECTION_NODE
childElementCount#
readonly childElementCount: numberinheritedFrom: HTMLElement.childElementCount
childNodes#
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.
inheritedFrom: HTMLElement.childNodes
children#
readonly children: HTMLCollectionReturns the child elements.
inheritedFrom: HTMLElement.children
className#
className: stringThe className property of the Element interface gets and sets the value of the class attribute of the specified element.
inheritedFrom: HTMLElement.className
clientHeight#
readonly clientHeight: numberThe 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).
inheritedFrom: HTMLElement.clientHeight
clientLeft#
readonly clientLeft: numberThe 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.
inheritedFrom: HTMLElement.clientLeft
clientTop#
readonly clientTop: numberThe clientTop read-only property of the Element interface returns the width of the top border of an element in pixels.
inheritedFrom: HTMLElement.clientTop
clientWidth#
readonly clientWidth: numberThe 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).
inheritedFrom: HTMLElement.clientWidth
COMMENT_NODE#
readonly COMMENT_NODE: 8node is a Comment node.
inheritedFrom: HTMLElement.COMMENT_NODE
contentEditable#
contentEditable: stringinheritedFrom: HTMLElement.contentEditable
currentCSSZoom#
readonly currentCSSZoom: numberThe 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.
inheritedFrom: HTMLElement.currentCSSZoom
customElementRegistry#
readonly customElementRegistry: CustomElementRegistry | nullinheritedFrom: HTMLElement.customElementRegistry
dataset#
readonly dataset: DOMStringMapinheritedFrom: HTMLElement.dataset
dir#
dir: stringThe HTMLElement.dir property indicates the text writing directionality of the content of the current element. It reflects the element's dir attribute.
inheritedFrom: HTMLElement.dir
DOCUMENT_FRAGMENT_NODE#
readonly DOCUMENT_FRAGMENT_NODE: 11node is a DocumentFragment node.
inheritedFrom: HTMLElement.DOCUMENT_FRAGMENT_NODE
DOCUMENT_NODE#
readonly DOCUMENT_NODE: 9node is a document.
inheritedFrom: HTMLElement.DOCUMENT_NODE
DOCUMENT_POSITION_CONTAINED_BY#
readonly DOCUMENT_POSITION_CONTAINED_BY: 16Set when other is a descendant of node.
inheritedFrom: HTMLElement.DOCUMENT_POSITION_CONTAINED_BY
DOCUMENT_POSITION_CONTAINS#
readonly DOCUMENT_POSITION_CONTAINS: 8Set when other is an ancestor of node.
inheritedFrom: HTMLElement.DOCUMENT_POSITION_CONTAINS
DOCUMENT_POSITION_DISCONNECTED#
readonly DOCUMENT_POSITION_DISCONNECTED: 1Set when node and other are not in the same tree.
inheritedFrom: HTMLElement.DOCUMENT_POSITION_DISCONNECTED
DOCUMENT_POSITION_FOLLOWING#
readonly DOCUMENT_POSITION_FOLLOWING: 4Set when other is following node.
inheritedFrom: HTMLElement.DOCUMENT_POSITION_FOLLOWING
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC#
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32inheritedFrom: HTMLElement.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
DOCUMENT_POSITION_PRECEDING#
readonly DOCUMENT_POSITION_PRECEDING: 2Set when other is preceding node.
inheritedFrom: HTMLElement.DOCUMENT_POSITION_PRECEDING
DOCUMENT_TYPE_NODE#
readonly DOCUMENT_TYPE_NODE: 10node is a doctype.
inheritedFrom: HTMLElement.DOCUMENT_TYPE_NODE
draggable#
draggable: booleanThe draggable property of the HTMLElement interface gets and sets a Boolean primitive indicating if the element is draggable.
inheritedFrom: HTMLElement.draggable
editor#
The editor, once connected with an address.
ELEMENT_NODE#
readonly ELEMENT_NODE: 1node is an element.
inheritedFrom: HTMLElement.ELEMENT_NODE
enterKeyHint#
enterKeyHint: stringinheritedFrom: HTMLElement.enterKeyHint
ENTITY_NODE#
readonly ENTITY_NODE: 6inheritedFrom: HTMLElement.ENTITY_NODE
ENTITY_REFERENCE_NODE#
readonly ENTITY_REFERENCE_NODE: 5inheritedFrom: HTMLElement.ENTITY_REFERENCE_NODE
fetch#
fetch: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response> | undefinedfirstChild#
readonly firstChild: ChildNode | nullThe 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.
inheritedFrom: HTMLElement.firstChild
firstElementChild#
readonly firstElementChild: Element | nullReturns the first child that is an element, and null otherwise.
inheritedFrom: HTMLElement.firstElementChild
hidden#
hidden: boolean | "until-found"The HTMLElement property hidden reflects the value of the element's hidden attribute.
inheritedFrom: HTMLElement.hidden
id#
id: stringThe id property of the Element interface represents the element's identifier, reflecting the id global attribute.
inheritedFrom: HTMLElement.id
inert#
inert: booleanThe 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.
inheritedFrom: HTMLElement.inert
innerHTML#
innerHTML: stringThe 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.
inheritedFrom: HTMLElement.innerHTML
innerText#
innerText: stringThe innerText property of the HTMLElement interface represents the rendered text content of a node and its descendants.
inheritedFrom: HTMLElement.innerText
inputMode#
inputMode: stringinheritedFrom: HTMLElement.inputMode
isConnected#
readonly isConnected: booleanThe read-only isConnected property of the Node interface returns a boolean indicating whether the node is connected (directly or indirectly) to a Document object.
inheritedFrom: HTMLElement.isConnected
isContentEditable#
readonly isContentEditable: booleaninheritedFrom: HTMLElement.isContentEditable
lang#
lang: stringThe 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.
inheritedFrom: HTMLElement.lang
language#
language: DslLanguagelastChild#
readonly lastChild: ChildNode | nullThe read-only lastChild property of the Node interface returns the last child of the node, or null if there are no child nodes.
inheritedFrom: HTMLElement.lastChild
lastElementChild#
readonly lastElementChild: Element | nullReturns the last child that is an element, and null otherwise.
inheritedFrom: HTMLElement.lastElementChild
localName#
readonly localName: stringThe Element.localName read-only property returns the local part of the qualified name of an element.
inheritedFrom: HTMLElement.localName
models#
models: (string)[] | () => (string)[] | null | undefined | null | undefinedThe models whose names completion proposes (DslEditorOptions.models).
namespaceURI#
readonly namespaceURI: string | nullThe Element.namespaceURI read-only property returns the namespace URI of the element, or null if the element is not in a namespace.
inheritedFrom: HTMLElement.namespaceURI
nextElementSibling#
readonly nextElementSibling: Element | nullReturns the first following sibling that is an element, and null otherwise.
inheritedFrom: HTMLElement.nextElementSibling
nextSibling#
readonly nextSibling: ChildNode | nullThe 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.
inheritedFrom: HTMLElement.nextSibling
nodeName#
readonly nodeName: stringThe read-only nodeName property of Node returns the name of the current node as a string.
inheritedFrom: HTMLElement.nodeName
nodeType#
readonly nodeType: numberThe 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.
inheritedFrom: HTMLElement.nodeType
nodeValue#
nodeValue: string | nullThe nodeValue property of the Node interface returns or sets the value of the current node.
inheritedFrom: HTMLElement.nodeValue
nonce#
nonce: stringinheritedFrom: HTMLElement.nonce
NOTATION_NODE#
readonly NOTATION_NODE: 12inheritedFrom: HTMLElement.NOTATION_NODE
offsetHeight#
readonly offsetHeight: numberThe offsetHeight read-only property of the HTMLElement interface returns the height of an element, including vertical padding and borders, as an integer.
inheritedFrom: HTMLElement.offsetHeight
offsetLeft#
readonly offsetLeft: numberThe 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.
inheritedFrom: HTMLElement.offsetLeft
offsetParent#
readonly offsetParent: Element | nullThe HTMLElement.offsetParent read-only property returns a reference to the element which is the closest (nearest in the containment hierarchy) positioned ancestor element.
inheritedFrom: HTMLElement.offsetParent
offsetTop#
readonly offsetTop: numberThe 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.
inheritedFrom: HTMLElement.offsetTop
offsetWidth#
readonly offsetWidth: numberThe offsetWidth read-only property of the HTMLElement interface returns the layout width of an element as an integer.
inheritedFrom: HTMLElement.offsetWidth
onabort#
onabort: (this: GlobalEventHandlers, ev: UIEvent) => any | nullinheritedFrom: HTMLElement.onabort
onanimationcancel#
onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any | nullinheritedFrom: HTMLElement.onanimationcancel
onanimationend#
onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any | nullinheritedFrom: HTMLElement.onanimationend
onanimationiteration#
onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any | nullinheritedFrom: HTMLElement.onanimationiteration
onanimationstart#
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any | nullinheritedFrom: HTMLElement.onanimationstart
onauxclick#
onauxclick: (this: GlobalEventHandlers, ev: PointerEvent) => any | nullinheritedFrom: HTMLElement.onauxclick
onbeforeinput#
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any | nullinheritedFrom: HTMLElement.onbeforeinput
onbeforematch#
onbeforematch: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.onbeforematch
onbeforetoggle#
onbeforetoggle: (this: GlobalEventHandlers, ev: ToggleEvent) => any | nullinheritedFrom: HTMLElement.onbeforetoggle
onblur#
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any | nullinheritedFrom: HTMLElement.onblur
oncancel#
oncancel: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.oncancel
oncanplay#
oncanplay: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.oncanplay
oncanplaythrough#
oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.oncanplaythrough
onchange#
onchange: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.onchange
onclick#
onclick: (this: GlobalEventHandlers, ev: PointerEvent) => any | nullinheritedFrom: HTMLElement.onclick
onclose#
onclose: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.onclose
oncommand#
oncommand: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.oncommand
oncontextlost#
oncontextlost: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.oncontextlost
oncontextmenu#
oncontextmenu: (this: GlobalEventHandlers, ev: PointerEvent) => any | nullinheritedFrom: HTMLElement.oncontextmenu
oncontextrestored#
oncontextrestored: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.oncontextrestored
oncopy#
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any | nullinheritedFrom: HTMLElement.oncopy
oncuechange#
oncuechange: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.oncuechange
oncut#
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any | nullinheritedFrom: HTMLElement.oncut
ondblclick#
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any | nullinheritedFrom: HTMLElement.ondblclick
ondrag#
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any | nullinheritedFrom: HTMLElement.ondrag
ondragend#
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any | nullinheritedFrom: HTMLElement.ondragend
ondragenter#
ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any | nullinheritedFrom: HTMLElement.ondragenter
ondragleave#
ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any | nullinheritedFrom: HTMLElement.ondragleave
ondragover#
ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any | nullinheritedFrom: HTMLElement.ondragover
ondragstart#
ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any | nullinheritedFrom: HTMLElement.ondragstart
ondrop#
ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any | nullinheritedFrom: HTMLElement.ondrop
ondurationchange#
ondurationchange: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.ondurationchange
onemptied#
onemptied: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.onemptied
onended#
onended: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.onended
onerror#
onerror: OnErrorEventHandlerinheritedFrom: HTMLElement.onerror
onfocus#
onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any | nullinheritedFrom: HTMLElement.onfocus
onformdata#
onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any | nullinheritedFrom: HTMLElement.onformdata
onfullscreenchange#
onfullscreenchange: (this: Element, ev: Event) => any | nullinheritedFrom: HTMLElement.onfullscreenchange
onfullscreenerror#
onfullscreenerror: (this: Element, ev: Event) => any | nullinheritedFrom: HTMLElement.onfullscreenerror
ongotpointercapture#
ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any | nullinheritedFrom: HTMLElement.ongotpointercapture
oninput#
oninput: (this: GlobalEventHandlers, ev: InputEvent) => any | nullinheritedFrom: HTMLElement.oninput
oninvalid#
oninvalid: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.oninvalid
onkeydown#
onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any | nullinheritedFrom: HTMLElement.onkeydown
onkeypress#
onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any | nullDeprecated: MDN Reference
inheritedFrom: HTMLElement.onkeypress
onkeyup#
onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any | nullinheritedFrom: HTMLElement.onkeyup
onload#
onload: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.onload
onloadeddata#
onloadeddata: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.onloadeddata
onloadedmetadata#
onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.onloadedmetadata
onloadstart#
onloadstart: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.onloadstart
onlostpointercapture#
onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any | nullinheritedFrom: HTMLElement.onlostpointercapture
onmousedown#
onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any | nullinheritedFrom: HTMLElement.onmousedown
onmouseenter#
onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any | nullinheritedFrom: HTMLElement.onmouseenter
onmouseleave#
onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any | nullinheritedFrom: HTMLElement.onmouseleave
onmousemove#
onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any | nullinheritedFrom: HTMLElement.onmousemove
onmouseout#
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any | nullinheritedFrom: HTMLElement.onmouseout
onmouseover#
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any | nullinheritedFrom: HTMLElement.onmouseover
onmouseup#
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any | nullinheritedFrom: HTMLElement.onmouseup
onpaste#
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any | nullinheritedFrom: HTMLElement.onpaste
onpause#
onpause: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.onpause
onplay#
onplay: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.onplay
onplaying#
onplaying: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.onplaying
onpointercancel#
onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any | nullinheritedFrom: HTMLElement.onpointercancel
onpointerdown#
onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any | nullinheritedFrom: HTMLElement.onpointerdown
onpointerenter#
onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any | nullinheritedFrom: HTMLElement.onpointerenter
onpointerleave#
onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any | nullinheritedFrom: HTMLElement.onpointerleave
onpointermove#
onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any | nullinheritedFrom: HTMLElement.onpointermove
onpointerout#
onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any | nullinheritedFrom: HTMLElement.onpointerout
onpointerover#
onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any | nullinheritedFrom: HTMLElement.onpointerover
onpointerrawupdate#
onpointerrawupdate: (this: GlobalEventHandlers, ev: Event) => any | nullAvailable only in secure contexts.
inheritedFrom: HTMLElement.onpointerrawupdate
onpointerup#
onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any | nullinheritedFrom: HTMLElement.onpointerup
onprogress#
onprogress: (this: GlobalEventHandlers, ev: ProgressEvent) => any | nullinheritedFrom: HTMLElement.onprogress
onratechange#
onratechange: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.onratechange
onreset#
onreset: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.onreset
onresize#
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any | nullinheritedFrom: HTMLElement.onresize
onscroll#
onscroll: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.onscroll
onscrollend#
onscrollend: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.onscrollend
onsecuritypolicyviolation#
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any | nullinheritedFrom: HTMLElement.onsecuritypolicyviolation
onseeked#
onseeked: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.onseeked
onseeking#
onseeking: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.onseeking
onselect#
onselect: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.onselect
onselectionchange#
onselectionchange: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.onselectionchange
onselectstart#
onselectstart: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.onselectstart
onslotchange#
onslotchange: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.onslotchange
onstalled#
onstalled: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.onstalled
onsubmit#
onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any | nullinheritedFrom: HTMLElement.onsubmit
onsuspend#
onsuspend: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.onsuspend
ontimeupdate#
ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.ontimeupdate
ontoggle#
ontoggle: (this: GlobalEventHandlers, ev: ToggleEvent) => any | nullinheritedFrom: HTMLElement.ontoggle
ontouchcancel#
ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any | nullinheritedFrom: HTMLElement.ontouchcancel
ontouchend#
ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any | nullinheritedFrom: HTMLElement.ontouchend
ontouchmove#
ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any | nullinheritedFrom: HTMLElement.ontouchmove
ontouchstart#
ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any | nullinheritedFrom: HTMLElement.ontouchstart
ontransitioncancel#
ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any | nullinheritedFrom: HTMLElement.ontransitioncancel
ontransitionend#
ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any | nullinheritedFrom: HTMLElement.ontransitionend
ontransitionrun#
ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any | nullinheritedFrom: HTMLElement.ontransitionrun
ontransitionstart#
ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any | nullinheritedFrom: HTMLElement.ontransitionstart
onvolumechange#
onvolumechange: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.onvolumechange
onwaiting#
onwaiting: (this: GlobalEventHandlers, ev: Event) => any | nullinheritedFrom: HTMLElement.onwaiting
onwebkitanimationend#
onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any | nullDeprecated: This is a legacy alias of onanimationend.
inheritedFrom: HTMLElement.onwebkitanimationend
onwebkitanimationiteration#
onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any | nullDeprecated: This is a legacy alias of onanimationiteration.
inheritedFrom: HTMLElement.onwebkitanimationiteration
onwebkitanimationstart#
onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any | nullDeprecated: This is a legacy alias of onanimationstart.
inheritedFrom: HTMLElement.onwebkitanimationstart
onwebkittransitionend#
onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any | nullDeprecated: This is a legacy alias of ontransitionend.
inheritedFrom: HTMLElement.onwebkittransitionend
onwheel#
onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any | nullinheritedFrom: HTMLElement.onwheel
outerHTML#
outerHTML: stringThe 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.
inheritedFrom: HTMLElement.outerHTML
outerText#
outerText: stringThe 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).
inheritedFrom: HTMLElement.outerText
ownerDocument#
readonly ownerDocument: DocumentThe read-only ownerDocument property of the Node interface returns the top-level document object of the node.
inheritedFrom: HTMLElement.ownerDocument
parentElement#
readonly parentElement: HTMLElement | nullThe 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.
inheritedFrom: HTMLElement.parentElement
parentNode#
readonly parentNode: ParentNode | nullThe read-only parentNode property of the Node interface returns the parent of the specified node in the DOM tree.
inheritedFrom: HTMLElement.parentNode
popover#
popover: string | nullThe 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.
inheritedFrom: HTMLElement.popover
prefix#
readonly prefix: string | nullThe Element.prefix read-only property returns the namespace prefix of the specified element, or null if no prefix is specified.
inheritedFrom: HTMLElement.prefix
previousElementSibling#
readonly previousElementSibling: Element | nullReturns the first preceding sibling that is an element, and null otherwise.
inheritedFrom: HTMLElement.previousElementSibling
previousSibling#
readonly previousSibling: ChildNode | nullThe 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.
inheritedFrom: HTMLElement.previousSibling
PROCESSING_INSTRUCTION_NODE#
readonly PROCESSING_INSTRUCTION_NODE: 7node is a ProcessingInstruction node.
inheritedFrom: HTMLElement.PROCESSING_INSTRUCTION_NODE
readOnly#
readOnly: booleanrole#
role: string | nullinheritedFrom: HTMLElement.role
scrollHeight#
readonly scrollHeight: numberThe 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.
inheritedFrom: HTMLElement.scrollHeight
scrollLeft#
scrollLeft: numberThe 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.
inheritedFrom: HTMLElement.scrollLeft
scrollTop#
scrollTop: numberThe 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.
inheritedFrom: HTMLElement.scrollTop
scrollWidth#
readonly scrollWidth: numberThe 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.
inheritedFrom: HTMLElement.scrollWidth
shadowRoot#
readonly shadowRoot: ShadowRoot | nullThe Element.shadowRoot read-only property represents the shadow root hosted by the element.
inheritedFrom: HTMLElement.shadowRoot
slot#
slot: stringThe slot property of the Element interface returns the name of the shadow DOM slot the element is inserted in.
inheritedFrom: HTMLElement.slot
spellcheck#
spellcheck: booleanThe 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.
inheritedFrom: HTMLElement.spellcheck
tabIndex#
tabIndex: numberinheritedFrom: HTMLElement.tabIndex
tagName#
readonly tagName: stringThe tagName read-only property of the Element interface returns the tag name of the element on which it's called.
inheritedFrom: HTMLElement.tagName
TEXT_NODE#
readonly TEXT_NODE: 3node is a Text node.
inheritedFrom: HTMLElement.TEXT_NODE
title#
title: stringThe HTMLElement.title property represents the title of the element: the text usually displayed in a 'tooltip' popup when the mouse is over the node.
inheritedFrom: HTMLElement.title
token#
Never an attribute: a token does not belong in the DOM.
translate#
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.
inheritedFrom: HTMLElement.translate
value#
value: stringThe text; settable before the editor exists.
writingSuggestions#
writingSuggestions: stringThe 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.
inheritedFrom: HTMLElement.writingSuggestions
classList#
classList(): DOMTokenListThe 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.
inheritedFrom: HTMLElement.classList
classList#
classList(value: string): voidinheritedFrom: HTMLElement.classList
Parameters#
| Name | Type | Description |
|---|---|---|
value |
string |
part#
part(): DOMTokenListThe 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.
inheritedFrom: HTMLElement.part
part#
part(value: string): voidinheritedFrom: HTMLElement.part
Parameters#
| Name | Type | Description |
|---|---|---|
value |
string |
style#
style(): CSSStyleDeclarationinheritedFrom: HTMLElement.style
style#
style(cssText: string): voidinheritedFrom: HTMLElement.style
Parameters#
| Name | Type | Description |
|---|---|---|
cssText |
string |
textContent#
textContent(): stringinheritedFrom: HTMLElement.textContent
textContent#
textContent(value: string | null): voidThe textContent property of the Node interface represents the text content of the node and its descendants.
inheritedFrom: HTMLElement.textContent
Parameters#
| Name | Type | Description |
|---|---|---|
value |
string | null |
addEventListener#
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): voidinheritedFrom: 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#
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): voidinheritedFrom: HTMLElement.addEventListener
Parameters#
| Name | Type | Description |
|---|---|---|
type |
string |
|
listener |
EventListenerOrEventListenerObject |
|
options |
boolean | AddEventListenerOptions |
after#
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.
inheritedFrom: HTMLElement.after
Parameters#
| Name | Type | Description |
|---|---|---|
nodes |
(string | Node)[] |
animate#
animate(keyframes: PropertyIndexedKeyframes | (Keyframe)[] | null, options?: number | KeyframeAnimationOptions): AnimationinheritedFrom: HTMLElement.animate
Parameters#
| Name | Type | Description |
|---|---|---|
keyframes |
PropertyIndexedKeyframes | (Keyframe)[] | null |
|
options |
number | KeyframeAnimationOptions |
append#
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.
inheritedFrom: HTMLElement.append
Parameters#
| Name | Type | Description |
|---|---|---|
nodes |
(string | Node)[] |
appendChild#
The appendChild() method of the Node interface adds a node to the end of the list of children of a specified parent node.
inheritedFrom: HTMLElement.appendChild
Type parameters#
| Name | Constraint | Description |
|---|---|---|
T |
Node |
Parameters#
| Name | Type | Description |
|---|---|---|
node |
T |
attachInternals#
attachInternals(): ElementInternalsThe 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.
inheritedFrom: HTMLElement.attachInternals
attachShadow#
attachShadow(init: ShadowRootInit): ShadowRootThe Element.attachShadow() method attaches a shadow DOM tree to the specified element and returns a reference to its ShadowRoot.
inheritedFrom: HTMLElement.attachShadow
Parameters#
| Name | Type | Description |
|---|---|---|
init |
ShadowRootInit |
before#
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.
inheritedFrom: HTMLElement.before
Parameters#
| Name | Type | Description |
|---|---|---|
nodes |
(string | Node)[] |
blur#
blur(): voidinheritedFrom: HTMLElement.blur
checkVisibility#
checkVisibility(options?: CheckVisibilityOptions): booleanThe checkVisibility() method of the Element interface checks whether the element is visible.
inheritedFrom: HTMLElement.checkVisibility
Parameters#
| Name | Type | Description |
|---|---|---|
options |
CheckVisibilityOptions |
click#
click(): voidThe 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).
inheritedFrom: HTMLElement.click
cloneNode#
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.
inheritedFrom: HTMLElement.cloneNode
Parameters#
| Name | Type | Description |
|---|---|---|
subtree |
boolean |
closest#
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | nullThe 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.
inheritedFrom: HTMLElement.closest
Type parameters#
| Name | Constraint | Description |
|---|---|---|
K |
keyof HTMLElementTagNameMap |
Parameters#
| Name | Type | Description |
|---|---|---|
selector |
K |
closest#
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | nullinheritedFrom: HTMLElement.closest
Type parameters#
| Name | Constraint | Description |
|---|---|---|
K |
keyof SVGElementTagNameMap |
Parameters#
| Name | Type | Description |
|---|---|---|
selector |
K |
closest#
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | nullinheritedFrom: HTMLElement.closest
Type parameters#
| Name | Constraint | Description |
|---|---|---|
K |
keyof MathMLElementTagNameMap |
Parameters#
| Name | Type | Description |
|---|---|---|
selector |
K |
closest#
closest<E extends Element = Element>(selectors: string): E | nullinheritedFrom: HTMLElement.closest
Type parameters#
| Name | Constraint | Description |
|---|---|---|
E |
Element |
Parameters#
| Name | Type | Description |
|---|---|---|
selectors |
string |
compareDocumentPosition#
The compareDocumentPosition() method of the Node interface reports the position of its argument node relative to the node on which it is called.
inheritedFrom: HTMLElement.compareDocumentPosition
Parameters#
| Name | Type | Description |
|---|---|---|
other |
Node |
computedStyleMap#
computedStyleMap(): StylePropertyMapReadOnlyThe 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.
inheritedFrom: HTMLElement.computedStyleMap
contains#
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.
inheritedFrom: HTMLElement.contains
Parameters#
| Name | Type | Description |
|---|---|---|
other |
Node | null |
dispatchEvent#
dispatchEvent(event: Event): booleanThe 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().
inheritedFrom: HTMLElement.dispatchEvent
Parameters#
| Name | Type | Description |
|---|---|---|
event |
Event |
focus#
focus(options?: FocusOptions): voidinheritedFrom: HTMLElement.focus
Parameters#
| Name | Type | Description |
|---|---|---|
options |
FocusOptions |
getAnimations#
getAnimations(options?: GetAnimationsOptions): (Animation)[]inheritedFrom: HTMLElement.getAnimations
Parameters#
| Name | Type | Description |
|---|---|---|
options |
GetAnimationsOptions |
getAttribute#
getAttribute(qualifiedName: string): string | nullThe getAttribute() method of the Element interface returns the value of a specified attribute on the element.
inheritedFrom: HTMLElement.getAttribute
Parameters#
| Name | Type | Description |
|---|---|---|
qualifiedName |
string |
getAttributeNames#
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.
inheritedFrom: HTMLElement.getAttributeNames
getAttributeNode#
getAttributeNode(qualifiedName: string): Attr | nullReturns the specified attribute of the specified element, as an Attr node.
inheritedFrom: HTMLElement.getAttributeNode
Parameters#
| Name | Type | Description |
|---|---|---|
qualifiedName |
string |
getAttributeNodeNS#
getAttributeNodeNS(namespace: string | null, localName: string): Attr | nullThe getAttributeNodeNS() method of the Element interface returns the namespaced Attr node of an element.
inheritedFrom: HTMLElement.getAttributeNodeNS
Parameters#
| Name | Type | Description |
|---|---|---|
namespace |
string | null |
|
localName |
string |
getAttributeNS#
getAttributeNS(namespace: string | null, localName: string): string | nullThe 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.
inheritedFrom: HTMLElement.getAttributeNS
Parameters#
| Name | Type | Description |
|---|---|---|
namespace |
string | null |
|
localName |
string |
getBoundingClientRect#
getBoundingClientRect(): DOMRectThe Element.getBoundingClientRect() method returns a DOMRect object providing information about the size of an element and its position relative to the viewport.
inheritedFrom: HTMLElement.getBoundingClientRect
getClientRects#
getClientRects(): DOMRectListThe 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.
inheritedFrom: HTMLElement.getClientRects
getElementsByClassName#
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.
inheritedFrom: HTMLElement.getElementsByClassName
Parameters#
| Name | Type | Description |
|---|---|---|
classNames |
string |
getElementsByTagName#
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.
inheritedFrom: HTMLElement.getElementsByTagName
Type parameters#
| Name | Constraint | Description |
|---|---|---|
K |
keyof HTMLElementTagNameMap |
Parameters#
| Name | Type | Description |
|---|---|---|
qualifiedName |
K |
getElementsByTagName#
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#
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#
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#
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>inheritedFrom: HTMLElement.getElementsByTagName
Parameters#
| Name | Type | Description |
|---|---|---|
qualifiedName |
string |
getElementsByTagNameNS#
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.
inheritedFrom: HTMLElement.getElementsByTagNameNS
Parameters#
| Name | Type | Description |
|---|---|---|
namespaceURI |
"http://www.w3.org/1999/xhtml" |
|
localName |
string |
getElementsByTagNameNS#
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#
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#
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>inheritedFrom: HTMLElement.getElementsByTagNameNS
Parameters#
| Name | Type | Description |
|---|---|---|
namespace |
string | null |
|
localName |
string |
getHTML#
getHTML(options?: GetHTMLOptions): stringThe getHTML() method of the Element interface is used to serialize an element's DOM to an HTML string.
inheritedFrom: HTMLElement.getHTML
Parameters#
| Name | Type | Description |
|---|---|---|
options |
GetHTMLOptions |
getRootNode#
The getRootNode() method of the Node interface returns the context object's root, which optionally includes the shadow root if it is available.
inheritedFrom: HTMLElement.getRootNode
Parameters#
| Name | Type | Description |
|---|---|---|
options |
GetRootNodeOptions |
hasAttribute#
hasAttribute(qualifiedName: string): booleanThe Element.hasAttribute() method returns a Boolean value indicating whether the specified element has the specified attribute or not.
inheritedFrom: HTMLElement.hasAttribute
Parameters#
| Name | Type | Description |
|---|---|---|
qualifiedName |
string |
hasAttributeNS#
hasAttributeNS(namespace: string | null, localName: string): booleanThe hasAttributeNS() method of the Element interface returns a boolean value indicating whether the current element has the specified attribute with the specified namespace.
inheritedFrom: HTMLElement.hasAttributeNS
Parameters#
| Name | Type | Description |
|---|---|---|
namespace |
string | null |
|
localName |
string |
hasAttributes#
hasAttributes(): booleanThe hasAttributes() method of the Element interface returns a boolean value indicating whether the current element has any attributes or not.
inheritedFrom: HTMLElement.hasAttributes
hasChildNodes#
hasChildNodes(): booleanThe hasChildNodes() method of the Node interface returns a boolean value indicating whether the given Node has child nodes or not.
inheritedFrom: HTMLElement.hasChildNodes
hasPointerCapture#
hasPointerCapture(pointerId: number): booleanThe 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.
inheritedFrom: HTMLElement.hasPointerCapture
Parameters#
| Name | Type | Description |
|---|---|---|
pointerId |
number |
hidePopover#
hidePopover(): voidThe 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.
inheritedFrom: HTMLElement.hidePopover
insertAdjacentElement#
insertAdjacentElement(where: InsertPosition, element: Element): Element | nullThe insertAdjacentElement() method of the Element interface inserts a given element node at a given position relative to the element it is invoked upon.
inheritedFrom: HTMLElement.insertAdjacentElement
Parameters#
| Name | Type | Description |
|---|---|---|
where |
InsertPosition |
|
element |
Element |
insertAdjacentHTML#
insertAdjacentHTML(position: InsertPosition, string: string): voidThe 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.
inheritedFrom: HTMLElement.insertAdjacentHTML
Parameters#
| Name | Type | Description |
|---|---|---|
position |
InsertPosition |
|
string |
string |
insertAdjacentText#
insertAdjacentText(where: InsertPosition, data: string): voidThe 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.
inheritedFrom: HTMLElement.insertAdjacentText
Parameters#
| Name | Type | Description |
|---|---|---|
where |
InsertPosition |
|
data |
string |
insertBefore#
The insertBefore() method of the Node interface inserts a node before a reference node as a child of a specified parent node.
inheritedFrom: HTMLElement.insertBefore
Type parameters#
| Name | Constraint | Description |
|---|---|---|
T |
Node |
Parameters#
| Name | Type | Description |
|---|---|---|
node |
T |
|
child |
Node | null |
isDefaultNamespace#
isDefaultNamespace(namespace: string | null): booleanThe 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.
inheritedFrom: HTMLElement.isDefaultNamespace
Parameters#
| Name | Type | Description |
|---|---|---|
namespace |
string | null |
isEqualNode#
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.
inheritedFrom: HTMLElement.isEqualNode
Parameters#
| Name | Type | Description |
|---|---|---|
otherNode |
Node | null |
isSameNode#
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).
inheritedFrom: HTMLElement.isSameNode
Parameters#
| Name | Type | Description |
|---|---|---|
otherNode |
Node | null |
lookupNamespaceURI#
lookupNamespaceURI(prefix: string | null): string | nullThe 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().
inheritedFrom: HTMLElement.lookupNamespaceURI
Parameters#
| Name | Type | Description |
|---|---|---|
prefix |
string | null |
lookupPrefix#
lookupPrefix(namespace: string | null): string | nullThe 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.
inheritedFrom: HTMLElement.lookupPrefix
Parameters#
| Name | Type | Description |
|---|---|---|
namespace |
string | null |
matches#
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.
inheritedFrom: HTMLElement.matches
Type parameters#
| Name | Constraint | Description |
|---|---|---|
K |
keyof HTMLElementTagNameMap |
Parameters#
| Name | Type | Description |
|---|---|---|
selectors |
K |
matches#
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#
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#
matches(selectors: string): booleaninheritedFrom: HTMLElement.matches
Parameters#
| Name | Type | Description |
|---|---|---|
selectors |
string |
moveBefore#
inheritedFrom: HTMLElement.moveBefore
Parameters#
| Name | Type | Description |
|---|---|---|
node |
Node | |
child |
Node | null |
normalize#
normalize(): voidThe 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.
inheritedFrom: HTMLElement.normalize
prepend#
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.
inheritedFrom: HTMLElement.prepend
Parameters#
| Name | Type | Description |
|---|---|---|
nodes |
(string | Node)[] |
querySelector#
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | nullReturns the first element that is a descendant of node that matches selectors.
inheritedFrom: HTMLElement.querySelector
Type parameters#
| Name | Constraint | Description |
|---|---|---|
K |
keyof HTMLElementTagNameMap |
Parameters#
| Name | Type | Description |
|---|---|---|
selectors |
K |
querySelector#
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | nullinheritedFrom: HTMLElement.querySelector
Type parameters#
| Name | Constraint | Description |
|---|---|---|
K |
keyof SVGElementTagNameMap |
Parameters#
| Name | Type | Description |
|---|---|---|
selectors |
K |
querySelector#
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | nullinheritedFrom: HTMLElement.querySelector
Type parameters#
| Name | Constraint | Description |
|---|---|---|
K |
keyof MathMLElementTagNameMap |
Parameters#
| Name | Type | Description |
|---|---|---|
selectors |
K |
querySelector#
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | nullinheritedFrom: HTMLElement.querySelector
Type parameters#
| Name | Constraint | Description |
|---|---|---|
K |
keyof HTMLElementDeprecatedTagNameMap |
Parameters#
| Name | Type | Description |
|---|---|---|
selectors |
K |
querySelector#
querySelector<E extends Element = Element>(selectors: string): E | nullinheritedFrom: HTMLElement.querySelector
Type parameters#
| Name | Constraint | Description |
|---|---|---|
E |
Element |
Parameters#
| Name | Type | Description |
|---|---|---|
selectors |
string |
querySelectorAll#
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>Returns all element descendants of node that match selectors.
inheritedFrom: HTMLElement.querySelectorAll
Type parameters#
| Name | Constraint | Description |
|---|---|---|
K |
keyof HTMLElementTagNameMap |
Parameters#
| Name | Type | Description |
|---|---|---|
selectors |
K |
querySelectorAll#
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#
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#
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#
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#
releasePointerCapture(pointerId: number): voidThe releasePointerCapture() method of the Element interface releases (stops) pointer capture that was previously set for a specific (PointerEvent) pointer.
inheritedFrom: HTMLElement.releasePointerCapture
Parameters#
| Name | Type | Description |
|---|---|---|
pointerId |
number |
remove#
remove(): voidRemoves node.
inheritedFrom: HTMLElement.remove
removeAttribute#
removeAttribute(qualifiedName: string): voidThe Element method removeAttribute() removes the attribute with the specified name from the element.
inheritedFrom: HTMLElement.removeAttribute
Parameters#
| Name | Type | Description |
|---|---|---|
qualifiedName |
string |
removeAttributeNode#
removeAttributeNode(attr: Attr): AttrThe removeAttributeNode() method of the Element interface removes the specified Attr node from the element.
inheritedFrom: HTMLElement.removeAttributeNode
Parameters#
| Name | Type | Description |
|---|---|---|
attr |
Attr |
removeAttributeNS#
removeAttributeNS(namespace: string | null, localName: string): voidThe removeAttributeNS() method of the Element interface removes the specified attribute with the specified namespace from an element.
inheritedFrom: HTMLElement.removeAttributeNS
Parameters#
| Name | Type | Description |
|---|---|---|
namespace |
string | null |
|
localName |
string |
removeChild#
The removeChild() method of the Node interface removes a child node from the DOM and returns the removed node.
inheritedFrom: HTMLElement.removeChild
Type parameters#
| Name | Constraint | Description |
|---|---|---|
T |
Node |
Parameters#
| Name | Type | Description |
|---|---|---|
child |
T |
removeEventListener#
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): voidinheritedFrom: 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#
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): voidinheritedFrom: HTMLElement.removeEventListener
Parameters#
| Name | Type | Description |
|---|---|---|
type |
string |
|
listener |
EventListenerOrEventListenerObject |
|
options |
boolean | EventListenerOptions |
replaceChild#
The replaceChild() method of the Node interface replaces a child node within the given (parent) node.
inheritedFrom: HTMLElement.replaceChild
Type parameters#
| Name | Constraint | Description |
|---|---|---|
T |
Node |
Parameters#
| Name | Type | Description |
|---|---|---|
node |
Node | |
child |
T |
replaceChildren#
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.
inheritedFrom: HTMLElement.replaceChildren
Parameters#
| Name | Type | Description |
|---|---|---|
nodes |
(string | Node)[] |
replaceWith#
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.
inheritedFrom: HTMLElement.replaceWith
Parameters#
| Name | Type | Description |
|---|---|---|
nodes |
(string | Node)[] |
requestFullscreen#
requestFullscreen(options?: FullscreenOptions): Promise<void>The Element.requestFullscreen() method issues an asynchronous request to make the element be displayed in fullscreen mode.
inheritedFrom: HTMLElement.requestFullscreen
Parameters#
| Name | Type | Description |
|---|---|---|
options |
FullscreenOptions |
requestPointerLock#
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.
inheritedFrom: HTMLElement.requestPointerLock
Parameters#
| Name | Type | Description |
|---|---|---|
options |
PointerLockOptions |
scroll#
scroll(options?: ScrollToOptions): voidThe scroll() method of the Element interface scrolls the element to a particular set of coordinates inside a given element.
inheritedFrom: HTMLElement.scroll
Parameters#
| Name | Type | Description |
|---|---|---|
options |
ScrollToOptions |
scroll#
scroll(x: number, y: number): voidinheritedFrom: HTMLElement.scroll
Parameters#
| Name | Type | Description |
|---|---|---|
x |
number |
|
y |
number |
scrollBy#
scrollBy(options?: ScrollToOptions): voidThe scrollBy() method of the Element interface scrolls an element by the given amount.
inheritedFrom: HTMLElement.scrollBy
Parameters#
| Name | Type | Description |
|---|---|---|
options |
ScrollToOptions |
scrollBy#
scrollBy(x: number, y: number): voidinheritedFrom: HTMLElement.scrollBy
Parameters#
| Name | Type | Description |
|---|---|---|
x |
number |
|
y |
number |
scrollIntoView#
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): voidThe 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.
inheritedFrom: HTMLElement.scrollIntoView
Parameters#
| Name | Type | Description |
|---|---|---|
arg |
boolean | ScrollIntoViewOptions |
scrollTo#
scrollTo(options?: ScrollToOptions): voidThe scrollTo() method of the Element interface scrolls to a particular set of coordinates inside a given element.
inheritedFrom: HTMLElement.scrollTo
Parameters#
| Name | Type | Description |
|---|---|---|
options |
ScrollToOptions |
scrollTo#
scrollTo(x: number, y: number): voidinheritedFrom: HTMLElement.scrollTo
Parameters#
| Name | Type | Description |
|---|---|---|
x |
number |
|
y |
number |
setAttribute#
setAttribute(qualifiedName: string, value: string): voidThe 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.
inheritedFrom: HTMLElement.setAttribute
Parameters#
| Name | Type | Description |
|---|---|---|
qualifiedName |
string |
|
value |
string |
setAttributeNode#
setAttributeNode(attr: Attr): Attr | nullThe setAttributeNode() method of the Element interface adds a new Attr node to the specified element.
inheritedFrom: HTMLElement.setAttributeNode
Parameters#
| Name | Type | Description |
|---|---|---|
attr |
Attr |
setAttributeNodeNS#
setAttributeNodeNS(attr: Attr): Attr | nullThe setAttributeNodeNS() method of the Element interface adds a new namespaced Attr node to an element.
inheritedFrom: HTMLElement.setAttributeNodeNS
Parameters#
| Name | Type | Description |
|---|---|---|
attr |
Attr |
setAttributeNS#
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): voidThe setAttributeNS() method of the Element interface adds a new attribute or changes the value of an attribute with the given namespace and name.
inheritedFrom: HTMLElement.setAttributeNS
Parameters#
| Name | Type | Description |
|---|---|---|
namespace |
string | null |
|
qualifiedName |
string |
|
value |
string |
setHTMLUnsafe#
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.
inheritedFrom: HTMLElement.setHTMLUnsafe
Parameters#
| Name | Type | Description |
|---|---|---|
html |
string |
setPointerCapture#
setPointerCapture(pointerId: number): voidThe 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).
inheritedFrom: HTMLElement.setPointerCapture
Parameters#
| Name | Type | Description |
|---|---|---|
pointerId |
number |
showPopover#
showPopover(options?: ShowPopoverOptions): voidThe 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.
inheritedFrom: HTMLElement.showPopover
Parameters#
| Name | Type | Description |
|---|---|---|
options |
ShowPopoverOptions |
toggleAttribute#
toggleAttribute(qualifiedName: string, force?: boolean): booleanThe 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.
inheritedFrom: HTMLElement.toggleAttribute
Parameters#
| Name | Type | Description |
|---|---|---|
qualifiedName |
string |
|
force |
boolean |
togglePopover#
togglePopover(options?: boolean | TogglePopoverOptions): booleanThe 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.
inheritedFrom: HTMLElement.togglePopover
Parameters#
| Name | Type | Description |
|---|---|---|
options |
boolean | TogglePopoverOptions |
webkitMatchesSelector#
webkitMatchesSelector(selectors: string): booleanDeprecated: This is a legacy alias of matches.
inheritedFrom: HTMLElement.webkitMatchesSelector
Parameters#
| Name | Type | Description |
|---|---|---|
selectors |
string |