Undocumented

interface HTMLElement {
    ATTRIBUTE_NODE: 2;
    CDATA_SECTION_NODE: 4;
    COMMENT_NODE: 8;
    DOCUMENT_FRAGMENT_NODE: 11;
    DOCUMENT_NODE: 9;
    DOCUMENT_POSITION_CONTAINED_BY: 16;
    DOCUMENT_POSITION_CONTAINS: 8;
    DOCUMENT_POSITION_DISCONNECTED: 1;
    DOCUMENT_POSITION_FOLLOWING: 4;
    DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
    DOCUMENT_POSITION_PRECEDING: 2;
    DOCUMENT_TYPE_NODE: 10;
    ELEMENT_NODE: 1;
    ENTITY_NODE: 6;
    ENTITY_REFERENCE_NODE: 5;
    NOTATION_NODE: 12;
    PROCESSING_INSTRUCTION_NODE: 7;
    TEXT_NODE: 3;
    __removeCallStack?: any;
    _beforeMaximizeState?: boolean;
    _forcedVisible?: boolean;
    _manualVisibilityState?: boolean;
    _ongoingAnimation?: number;
    _scheduledLayoutDown?: boolean;
    ariaAtomic: string;
    ariaAutoComplete: string;
    ariaBusy: string;
    ariaChecked: string;
    ariaColCount: string;
    ariaColIndex: string;
    ariaColSpan: string;
    ariaCurrent: string;
    ariaDisabled: string;
    ariaExpanded: string;
    ariaHasPopup: string;
    ariaHidden: string;
    ariaInvalid: string;
    ariaKeyShortcuts: string;
    ariaLabel: string;
    ariaLevel: string;
    ariaLive: string;
    ariaModal: string;
    ariaMultiLine: string;
    ariaMultiSelectable: string;
    ariaOrientation: string;
    ariaPlaceholder: string;
    ariaPosInSet: string;
    ariaPressed: string;
    ariaReadOnly: string;
    ariaRequired: string;
    ariaRoleDescription: string;
    ariaRowCount: string;
    ariaRowIndex: string;
    ariaRowSpan: string;
    ariaSelected: string;
    ariaSetSize: string;
    ariaSort: string;
    ariaValueMax: string;
    ariaValueMin: string;
    ariaValueNow: string;
    ariaValueText: string;
    assignedSlot: HTMLSlotElement;
    attributes: NamedNodeMap;
    autoHideEvent?: ((e) => void);
    autoHideTimer?: number;
    baseURI: string;
    childElementCount: number;
    childNodes: NodeListOf<ChildNode>;
    children: HTMLCollection;
    classList: DOMTokenList;
    className: string;
    clientHeight: number;
    clientLeft: number;
    clientTop: number;
    clientWidth: number;
    column?: any;
    controlClass?: Control;
    emToPxKoef?: number;
    event_layoutchange: ((e) => any);
    firstChild: HTMLElement;
    firstElementChild: Element;
    focusContainer?: HTMLElement;
    forceRebind?: boolean;
    hotlink?: HTMLElement;
    icondiv?: ElementWith<Checkbox>;
    id: string;
    innerHTML: string;
    isConnected: boolean;
    isOpposite?: boolean;
    itemIndex?: number;
    lastChild: ChildNode;
    lastElementChild: Element;
    lastMouseUp?: number;
    layoutLocked: number;
    layoutUpdateNeeded?: boolean;
    localName: string;
    namespaceURI: string;
    nextElementSibling: Element;
    nextSibling: ChildNode;
    nodeName: string;
    nodeType: number;
    nodeValue: string;
    onfullscreenchange: ((this, ev) => any);
    onfullscreenerror: ((this, ev) => any);
    outerHTML: string;
    ownerDocument: Document;
    parentElement: HTMLElement;
    parentNode: HTMLElement;
    part: DOMTokenList;
    prefix: string;
    previousElementSibling: Element;
    previousSibling: ChildNode;
    rebindSelection?: boolean;
    role: string;
    scrollHeight: number;
    scrollLeft: number;
    scrollTop: number;
    scrollWidth: number;
    shadowRoot: ShadowRoot;
    sheet?: any;
    slot: string;
    tagName: string;
    textContent: string;
    textdiv?: HTMLElement;
    tooltipImmediate?: boolean;
    tooltipValueCallback?: ((tipdiv, vis, params) => void);
    unlisteners?: callback[];
    wasVisibleBeforeFullWindow?: boolean;
    addEventListener<K>(type, listener, options?): void;
    addEventListener(type, listener, options?): void;
    after(...nodes): void;
    animate(keyframes, options?): Animation;
    append(...nodes): void;
    appendChild<T>(node): T;
    attachShadow(init): ShadowRoot;
    before(...nodes): void;
    checkVisibility(options?): boolean;
    cloneNode(deep?): Node;
    closest<K>(selector): HTMLElementTagNameMap[K];
    closest<K>(selector): SVGElementTagNameMap[K];
    closest<K>(selector): MathMLElementTagNameMap[K];
    closest<E>(selectors): E;
    compareDocumentPosition(other): number;
    contains(other): boolean;
    dispatchEvent(event): boolean;
    getAnimations(options?): Animation[];
    getAttribute(qualifiedName): string;
    getAttributeNS(namespace, localName): string;
    getAttributeNames(): string[];
    getAttributeNode(qualifiedName): Attr;
    getAttributeNodeNS(namespace, localName): Attr;
    getBoundingClientRect(): DOMRect;
    getClientRects(): DOMRectList;
    getElementsByClassName(classNames): HTMLCollectionOf<Element>;
    getElementsByTagName<K>(qualifiedName): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
    getElementsByTagName<K>(qualifiedName): HTMLCollectionOf<SVGElementTagNameMap[K]>;
    getElementsByTagName<K>(qualifiedName): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
    getElementsByTagName<K>(qualifiedName): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
    getElementsByTagName(qualifiedName): HTMLCollectionOf<Element>;
    getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<HTMLElement>;
    getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<SVGElement>;
    getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<MathMLElement>;
    getElementsByTagNameNS(namespace, localName): HTMLCollectionOf<Element>;
    getRootNode(options?): Node;
    hasAttribute(qualifiedName): boolean;
    hasAttributeNS(namespace, localName): boolean;
    hasAttributes(): boolean;
    hasChildNodes(): boolean;
    hasPointerCapture(pointerId): boolean;
    insertAdjacentElement(where, element): Element;
    insertAdjacentHTML(position, text): void;
    insertAdjacentText(where, data): void;
    insertBefore(where, what): any;
    isDefaultNamespace(namespace): boolean;
    isEqualNode(otherNode): boolean;
    isSameNode(otherNode): boolean;
    lookupNamespaceURI(prefix): string;
    lookupPrefix(namespace): string;
    matches(selectors): boolean;
    normalize(): void;
    prepend(...nodes): void;
    querySelector<K>(selectors): HTMLElementTagNameMap[K];
    querySelector<K>(selectors): SVGElementTagNameMap[K];
    querySelector<K>(selectors): MathMLElementTagNameMap[K];
    querySelector<K>(selectors): HTMLElementDeprecatedTagNameMap[K];
    querySelector<E>(selectors): E;
    querySelectorAll<K>(selectors): NodeListOf<HTMLElementTagNameMap[K]>;
    querySelectorAll<K>(selectors): NodeListOf<SVGElementTagNameMap[K]>;
    querySelectorAll<K>(selectors): NodeListOf<MathMLElementTagNameMap[K]>;
    querySelectorAll<K>(selectors): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
    querySelectorAll<E>(selectors): NodeListOf<E>;
    releasePointerCapture(pointerId): void;
    remove(): void;
    removeAttribute(qualifiedName): void;
    removeAttributeNS(namespace, localName): void;
    removeAttributeNode(attr): Attr;
    removeChild<T>(child): T;
    removeEventListener<K>(type, listener, options?): void;
    removeEventListener(type, listener, options?): void;
    replaceChild<T>(node, child): T;
    replaceChildren(...nodes): void;
    replaceWith(...nodes): void;
    requestFullscreen(options?): Promise<void>;
    requestPointerLock(): void;
    scroll(options?): void;
    scroll(x, y): void;
    scrollBy(options?): void;
    scrollBy(x, y): void;
    scrollIntoView(arg?): void;
    scrollTo(options?): void;
    scrollTo(x, y): void;
    setAttribute(qualifiedName, value): void;
    setAttributeNS(namespace, qualifiedName, value): void;
    setAttributeNode(attr): Attr;
    setAttributeNodeNS(attr): Attr;
    setPointerCapture(pointerId): void;
    toggleAttribute(qualifiedName, force?): boolean;
    webkitMatchesSelector(selectors): boolean;
}

Hierarchy (view full)

Properties

ATTRIBUTE_NODE CDATA_SECTION_NODE COMMENT_NODE DOCUMENT_FRAGMENT_NODE DOCUMENT_NODE DOCUMENT_POSITION_CONTAINED_BY DOCUMENT_POSITION_CONTAINS DOCUMENT_POSITION_DISCONNECTED DOCUMENT_POSITION_FOLLOWING DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC DOCUMENT_POSITION_PRECEDING DOCUMENT_TYPE_NODE ELEMENT_NODE ENTITY_NODE ENTITY_REFERENCE_NODE NOTATION_NODE PROCESSING_INSTRUCTION_NODE TEXT_NODE __removeCallStack? _beforeMaximizeState? _forcedVisible? _manualVisibilityState? _ongoingAnimation? _scheduledLayoutDown? ariaAtomic ariaAutoComplete ariaBusy ariaChecked ariaColCount ariaColIndex ariaColSpan ariaCurrent ariaDisabled ariaExpanded ariaHasPopup ariaHidden ariaInvalid ariaKeyShortcuts ariaLabel ariaLevel ariaLive ariaModal ariaMultiLine ariaMultiSelectable ariaOrientation ariaPlaceholder ariaPosInSet ariaPressed ariaReadOnly ariaRequired ariaRoleDescription ariaRowCount ariaRowIndex ariaRowSpan ariaSelected ariaSetSize ariaSort ariaValueMax ariaValueMin ariaValueNow ariaValueText assignedSlot attributes autoHideEvent? autoHideTimer? baseURI childElementCount childNodes children classList className clientHeight clientLeft clientTop clientWidth column? controlClass? emToPxKoef? event_layoutchange firstChild firstElementChild focusContainer? forceRebind? hotlink? icondiv? id innerHTML isConnected isOpposite? itemIndex? lastChild lastElementChild lastMouseUp? layoutLocked layoutUpdateNeeded? localName namespaceURI nextElementSibling nextSibling nodeName nodeType nodeValue onfullscreenchange onfullscreenerror outerHTML ownerDocument parentElement parentNode part prefix previousElementSibling previousSibling rebindSelection? role scrollHeight scrollLeft scrollTop scrollWidth shadowRoot sheet? slot tagName textContent textdiv? tooltipImmediate? tooltipValueCallback? unlisteners? wasVisibleBeforeFullWindow?

Methods

Properties

ATTRIBUTE_NODE: 2

Undocumented

CDATA_SECTION_NODE: 4

node is a CDATASection node.

COMMENT_NODE: 8

node is a Comment node.

DOCUMENT_FRAGMENT_NODE: 11

node is a DocumentFragment node.

DOCUMENT_NODE: 9

node is a document.

DOCUMENT_POSITION_CONTAINED_BY: 16

Set when other is a descendant of node.

DOCUMENT_POSITION_CONTAINS: 8

Set when other is an ancestor of node.

DOCUMENT_POSITION_DISCONNECTED: 1

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

DOCUMENT_POSITION_FOLLOWING: 4

Set when other is following node.

DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32

Undocumented

DOCUMENT_POSITION_PRECEDING: 2

Set when other is preceding node.

DOCUMENT_TYPE_NODE: 10

node is a doctype.

ELEMENT_NODE: 1

node is an element.

ENTITY_NODE: 6

Undocumented

ENTITY_REFERENCE_NODE: 5

Undocumented

NOTATION_NODE: 12

Undocumented

PROCESSING_INSTRUCTION_NODE: 7

node is a ProcessingInstruction node.

TEXT_NODE: 3

node is a Text node.

__removeCallStack?: any

Undocumented

_beforeMaximizeState?: boolean

Undocumented

_forcedVisible?: boolean

Undocumented

_manualVisibilityState?: boolean

Undocumented

_ongoingAnimation?: number

Undocumented

_scheduledLayoutDown?: boolean

Undocumented

ariaAtomic: string

Undocumented

ariaAutoComplete: string

Undocumented

ariaBusy: string

Undocumented

ariaChecked: string

Undocumented

ariaColCount: string

Undocumented

ariaColIndex: string

Undocumented

ariaColSpan: string

Undocumented

ariaCurrent: string

Undocumented

ariaDisabled: string

Undocumented

ariaExpanded: string

Undocumented

ariaHasPopup: string

Undocumented

ariaHidden: string

Undocumented

ariaInvalid: string

Undocumented

ariaKeyShortcuts: string

Undocumented

ariaLabel: string

Undocumented

ariaLevel: string

Undocumented

ariaLive: string

Undocumented

ariaModal: string

Undocumented

ariaMultiLine: string

Undocumented

ariaMultiSelectable: string

Undocumented

ariaOrientation: string

Undocumented

ariaPlaceholder: string

Undocumented

ariaPosInSet: string

Undocumented

ariaPressed: string

Undocumented

ariaReadOnly: string

Undocumented

ariaRequired: string

Undocumented

ariaRoleDescription: string

Undocumented

ariaRowCount: string

Undocumented

ariaRowIndex: string

Undocumented

ariaRowSpan: string

Undocumented

ariaSelected: string

Undocumented

ariaSetSize: string

Undocumented

ariaSort: string

Undocumented

ariaValueMax: string

Undocumented

ariaValueMin: string

Undocumented

ariaValueNow: string

Undocumented

ariaValueText: string

Undocumented

assignedSlot: HTMLSlotElement

Undocumented

attributes: NamedNodeMap

Undocumented

autoHideEvent?: ((e) => void)

Type declaration

Undocumented

autoHideTimer?: number

Undocumented

baseURI: string

Returns node's node document's document base URL.

childElementCount: number

Undocumented

childNodes: NodeListOf<ChildNode>

Returns the children.

children: HTMLCollection

Returns the child elements.

classList: DOMTokenList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.

className: string

Returns the value of element's class content attribute. Can be set to change it.

clientHeight: number

Undocumented

clientLeft: number

Undocumented

clientTop: number

Undocumented

clientWidth: number

Undocumented

column?: any

Undocumented

controlClass?: Control

Undocumented

emToPxKoef?: number

Undocumented

event_layoutchange: ((e) => any)

Type declaration

    • (e): any
    • Parameters

      • e: CustomEvent<any>

      Returns any

Undocumented

firstChild: HTMLElement

Undocumented

firstElementChild: Element

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

focusContainer?: HTMLElement

Undocumented

forceRebind?: boolean

Undocumented

hotlink?: HTMLElement

Undocumented

Undocumented

id: string

Returns the value of element's id content attribute. Can be set to change it.

innerHTML: string

Undocumented

isConnected: boolean

Returns true if node is connected and false otherwise.

isOpposite?: boolean

Undocumented

itemIndex?: number

Undocumented

lastChild: ChildNode

Returns the last child.

lastElementChild: Element

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

lastMouseUp?: number

Undocumented

layoutLocked: number

Undocumented

layoutUpdateNeeded?: boolean

Undocumented

localName: string

Returns the local name.

namespaceURI: string

Returns the namespace.

nextElementSibling: Element

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

nextSibling: ChildNode

Returns the next sibling.

nodeName: string

Returns a string appropriate for the type of node.

nodeType: number

Returns the type of node.

nodeValue: string

Undocumented

onfullscreenchange: ((this, ev) => any)

Type declaration

    • (this, ev): any
    • Parameters

      Returns any

Undocumented

onfullscreenerror: ((this, ev) => any)

Type declaration

    • (this, ev): any
    • Parameters

      Returns any

Undocumented

outerHTML: string

Undocumented

ownerDocument: Document

Undocumented

parentElement: HTMLElement

Returns the parent element.

parentNode: HTMLElement

Undocumented

part: DOMTokenList

Undocumented

prefix: string

Returns the namespace prefix.

previousElementSibling: Element

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

previousSibling: ChildNode

Returns the previous sibling.

rebindSelection?: boolean

Undocumented

role: string

Undocumented

scrollHeight: number

Undocumented

scrollLeft: number

Undocumented

scrollTop: number

Undocumented

scrollWidth: number

Undocumented

shadowRoot: ShadowRoot

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.

sheet?: any

Undocumented

slot: string

Returns the value of element's slot content attribute. Can be set to change it.

tagName: string

Returns the HTML-uppercased qualified name.

textContent: string

Undocumented

textdiv?: HTMLElement

Undocumented

tooltipImmediate?: boolean

Whether to display a tooltip instantly

tooltipValueCallback?: ((tipdiv, vis, params) => void)

Type declaration

    • (tipdiv, vis, params): void
    • Parameters

      • tipdiv: HTMLElement
      • vis: boolean
      • params: AnyDict

      Returns void

Undocumented

unlisteners?: callback[]

Undocumented

wasVisibleBeforeFullWindow?: boolean

Undocumented

Methods

  • Type Parameters

    • K extends keyof ElementEventMap

    Parameters

    • type: K
    • listener: ((this, ev) => any)
        • (this, ev): any
        • Parameters

          Returns any

    • Optional options: boolean | AddEventListenerOptions

    Returns void

    Undocumented

  • Parameters

    • type: string
    • listener: EventListenerOrEventListenerObject
    • Optional options: boolean | AddEventListenerOptions

    Returns void

    Undocumented

  • 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.

    Parameters

    • Rest ...nodes: (string | Node)[]

    Returns void

  • Parameters

    • keyframes: Keyframe[] | PropertyIndexedKeyframes
    • Optional options: number | KeyframeAnimationOptions

    Returns Animation

    Undocumented

  • 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.

    Parameters

    • Rest ...nodes: (string | Node)[]

    Returns void

  • Type Parameters

    • T extends Node

    Parameters

    • node: T

    Returns T

    Undocumented

  • Creates a shadow root for element and returns it.

    Parameters

    • init: ShadowRootInit

    Returns ShadowRoot

  • 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.

    Parameters

    • Rest ...nodes: (string | Node)[]

    Returns void

  • Parameters

    • Optional options: CheckVisibilityOptions

    Returns boolean

    Undocumented

  • Returns a copy of node. If deep is true, the copy also includes the node's descendants.

    Parameters

    • Optional deep: boolean

    Returns Node

  • Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise.

    Type Parameters

    • K extends keyof HTMLElementTagNameMap

    Parameters

    • selector: K

    Returns HTMLElementTagNameMap[K]

  • Type Parameters

    • K extends keyof SVGElementTagNameMap

    Parameters

    • selector: K

    Returns SVGElementTagNameMap[K]

    Undocumented

  • Type Parameters

    • K extends keyof MathMLElementTagNameMap

    Parameters

    • selector: K

    Returns MathMLElementTagNameMap[K]

    Undocumented

  • Type Parameters

    Parameters

    • selectors: string

    Returns E

    Undocumented

  • Returns a bitmask indicating the position of other relative to node.

    Parameters

    • other: Node

    Returns number

  • Returns true if other is an inclusive descendant of node, and false otherwise.

    Parameters

    • other: Node

    Returns boolean

  • Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

    Parameters

    • event: Event

    Returns boolean

  • Parameters

    • Optional options: GetAnimationsOptions

    Returns Animation[]

    Undocumented

  • Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise.

    Parameters

    • qualifiedName: string

    Returns string

  • Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise.

    Parameters

    • namespace: string
    • localName: string

    Returns string

  • Returns the qualified names of all element's attributes. Can contain duplicates.

    Returns string[]

  • Parameters

    • qualifiedName: string

    Returns Attr

    Undocumented

  • Parameters

    • namespace: string
    • localName: string

    Returns Attr

    Undocumented

  • Returns DOMRect

    Undocumented

  • Returns DOMRectList

    Undocumented

  • Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes.

    Parameters

    • classNames: string

    Returns HTMLCollectionOf<Element>

  • Type Parameters

    • K extends keyof HTMLElementTagNameMap

    Parameters

    • qualifiedName: K

    Returns HTMLCollectionOf<HTMLElementTagNameMap[K]>

    Undocumented

  • Type Parameters

    • K extends keyof SVGElementTagNameMap

    Parameters

    • qualifiedName: K

    Returns HTMLCollectionOf<SVGElementTagNameMap[K]>

    Undocumented

  • Type Parameters

    • K extends keyof MathMLElementTagNameMap

    Parameters

    • qualifiedName: K

    Returns HTMLCollectionOf<MathMLElementTagNameMap[K]>

    Undocumented

  • Type Parameters

    • K extends keyof HTMLElementDeprecatedTagNameMap

    Parameters

    • qualifiedName: K

    Returns HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>

    Deprecated

  • Parameters

    • qualifiedName: string

    Returns HTMLCollectionOf<Element>

    Undocumented

  • Parameters

    • namespaceURI: "http://www.w3.org/1999/xhtml"
    • localName: string

    Returns HTMLCollectionOf<HTMLElement>

    Undocumented

  • Parameters

    • namespaceURI: "http://www.w3.org/2000/svg"
    • localName: string

    Returns HTMLCollectionOf<SVGElement>

    Undocumented

  • Parameters

    • namespaceURI: "http://www.w3.org/1998/Math/MathML"
    • localName: string

    Returns HTMLCollectionOf<MathMLElement>

    Undocumented

  • Parameters

    • namespace: string
    • localName: string

    Returns HTMLCollectionOf<Element>

    Undocumented

  • Returns node's root.

    Parameters

    • Optional options: GetRootNodeOptions

    Returns Node

  • Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise.

    Parameters

    • qualifiedName: string

    Returns boolean

  • Returns true if element has an attribute whose namespace is namespace and local name is localName.

    Parameters

    • namespace: string
    • localName: string

    Returns boolean

  • Returns true if element has attributes, and false otherwise.

    Returns boolean

  • Returns whether node has children.

    Returns boolean

  • Parameters

    • pointerId: number

    Returns boolean

    Undocumented

  • Parameters

    • position: InsertPosition
    • text: string

    Returns void

    Undocumented

  • Parameters

    • where: InsertPosition
    • data: string

    Returns void

    Undocumented

  • Parameters

    • where: Node
    • what: Node

    Returns any

    Undocumented

  • Parameters

    • namespace: string

    Returns boolean

    Undocumented

  • Returns whether node and otherNode have the same properties.

    Parameters

    • otherNode: Node

    Returns boolean

  • Parameters

    • otherNode: Node

    Returns boolean

    Undocumented

  • Parameters

    • prefix: string

    Returns string

    Undocumented

  • Parameters

    • namespace: string

    Returns string

    Undocumented

  • Returns true if matching selectors against element's root yields element, and false otherwise.

    Parameters

    • selectors: string

    Returns boolean

  • Removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes.

    Returns void

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

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

    Parameters

    • Rest ...nodes: (string | Node)[]

    Returns void

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

    Type Parameters

    • K extends keyof HTMLElementTagNameMap

    Parameters

    • selectors: K

    Returns HTMLElementTagNameMap[K]

  • Type Parameters

    • K extends keyof SVGElementTagNameMap

    Parameters

    • selectors: K

    Returns SVGElementTagNameMap[K]

    Undocumented

  • Type Parameters

    • K extends keyof MathMLElementTagNameMap

    Parameters

    • selectors: K

    Returns MathMLElementTagNameMap[K]

    Undocumented

  • Type Parameters

    • K extends keyof HTMLElementDeprecatedTagNameMap

    Parameters

    • selectors: K

    Returns HTMLElementDeprecatedTagNameMap[K]

    Deprecated

  • Type Parameters

    Parameters

    • selectors: string

    Returns E

    Undocumented

  • Returns all element descendants of node that match selectors.

    Type Parameters

    • K extends keyof HTMLElementTagNameMap

    Parameters

    • selectors: K

    Returns NodeListOf<HTMLElementTagNameMap[K]>

  • Type Parameters

    • K extends keyof SVGElementTagNameMap

    Parameters

    • selectors: K

    Returns NodeListOf<SVGElementTagNameMap[K]>

    Undocumented

  • Type Parameters

    • K extends keyof MathMLElementTagNameMap

    Parameters

    • selectors: K

    Returns NodeListOf<MathMLElementTagNameMap[K]>

    Undocumented

  • Type Parameters

    • K extends keyof HTMLElementDeprecatedTagNameMap

    Parameters

    • selectors: K

    Returns NodeListOf<HTMLElementDeprecatedTagNameMap[K]>

    Deprecated

  • Type Parameters

    Parameters

    • selectors: string

    Returns NodeListOf<E>

    Undocumented

  • Parameters

    • pointerId: number

    Returns void

    Undocumented

  • Removes node.

    Returns void

  • Removes element's first attribute whose qualified name is qualifiedName.

    Parameters

    • qualifiedName: string

    Returns void

  • Removes element's attribute whose namespace is namespace and local name is localName.

    Parameters

    • namespace: string
    • localName: string

    Returns void

  • Parameters

    • attr: Attr

    Returns Attr

    Undocumented

  • Type Parameters

    • T extends Node

    Parameters

    • child: T

    Returns T

    Undocumented

  • Type Parameters

    • K extends keyof ElementEventMap

    Parameters

    • type: K
    • listener: ((this, ev) => any)
        • (this, ev): any
        • Parameters

          Returns any

    • Optional options: boolean | EventListenerOptions

    Returns void

    Undocumented

  • Parameters

    • type: string
    • listener: EventListenerOrEventListenerObject
    • Optional options: boolean | EventListenerOptions

    Returns void

    Undocumented

  • Type Parameters

    • T extends Node

    Parameters

    • node: Node
    • child: T

    Returns T

    Undocumented

  • 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.

    Parameters

    • Rest ...nodes: (string | Node)[]

    Returns void

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

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

    Parameters

    • Rest ...nodes: (string | Node)[]

    Returns void

  • Displays element fullscreen and resolves promise when done.

    When supplied, options's navigationUI member indicates whether showing navigation UI while in fullscreen is preferred or not. If set to "show", navigation simplicity is preferred over screen space, and if set to "hide", more screen space is preferred. User agents are always free to honor user preference over the application's. The default value "auto" indicates no application preference.

    Parameters

    • Optional options: FullscreenOptions

    Returns Promise<void>

  • Returns void

    Undocumented

  • Parameters

    • Optional options: ScrollToOptions

    Returns void

    Undocumented

  • Parameters

    • x: number
    • y: number

    Returns void

    Undocumented

  • Parameters

    • Optional options: ScrollToOptions

    Returns void

    Undocumented

  • Parameters

    • x: number
    • y: number

    Returns void

    Undocumented

  • Parameters

    • Optional arg: boolean | ScrollIntoViewOptions

    Returns void

    Undocumented

  • Parameters

    • Optional options: ScrollToOptions

    Returns void

    Undocumented

  • Parameters

    • x: number
    • y: number

    Returns void

    Undocumented

  • Sets the value of element's first attribute whose qualified name is qualifiedName to value.

    Parameters

    • qualifiedName: string
    • value: string

    Returns void

  • Sets the value of element's attribute whose namespace is namespace and local name is localName to value.

    Parameters

    • namespace: string
    • qualifiedName: string
    • value: string

    Returns void

  • Parameters

    • attr: Attr

    Returns Attr

    Undocumented

  • Parameters

    • attr: Attr

    Returns Attr

    Undocumented

  • Parameters

    • pointerId: number

    Returns void

    Undocumented

  • If force is not given, "toggles" qualifiedName, removing it if it is present and adding it if it is not present. If force is true, adds qualifiedName. If force is false, removes qualifiedName.

    Returns true if qualifiedName is now present, and false otherwise.

    Parameters

    • qualifiedName: string
    • Optional force: boolean

    Returns boolean

  • Parameters

    • selectors: string

    Returns boolean

    Deprecated

    This is a legacy alias of matches.