---
title: "HTMLFormElement | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

# Interface HTMLFormElement

The **`HTMLFormElement`** interface represents a

element in the DOM. It allows access to—and, in some cases, modification of—aspects of the form, as well as access to its component elements.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement)

interface HTMLFormElement {  
    [acceptCharset](#acceptcharset): string;  
    [accessKey](#accesskey): string;  
    [accessKeyLabel](#accesskeylabel): string;  
    [action](#action): string;  
    [ariaActiveDescendantElement](#ariaactivedescendantelement): [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/) | null;  
    [ariaAtomic](#ariaatomic): string | null;  
    [ariaAutoComplete](#ariaautocomplete): string | null;  
    [ariaBrailleLabel](#ariabraillelabel): string | null;  
    [ariaBrailleRoleDescription](#ariabrailleroledescription): string | null;  
    [ariaBusy](#ariabusy): string | null;  
    [ariaChecked](#ariachecked): string | null;  
    [ariaColCount](#ariacolcount): string | null;  
    [ariaColIndex](#ariacolindex): string | null;  
    [ariaColIndexText](#ariacolindextext): string | null;  
    [ariaColSpan](#ariacolspan): string | null;  
    [ariaControlsElements](#ariacontrolselements): readonly [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\[\] | null;  
    [ariaCurrent](#ariacurrent): string | null;  
    [ariaDescribedByElements](#ariadescribedbyelements): readonly [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\[\] | null;  
    [ariaDescription](#ariadescription): string | null;  
    [ariaDetailsElements](#ariadetailselements): readonly [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\[\] | null;  
    [ariaDisabled](#ariadisabled): string | null;  
    [ariaErrorMessageElements](#ariaerrormessageelements): readonly [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\[\] | null;  
    [ariaExpanded](#ariaexpanded): string | null;  
    [ariaFlowToElements](#ariaflowtoelements): readonly [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\[\] | null;  
    [ariaHasPopup](#ariahaspopup): string | null;  
    [ariaHidden](#ariahidden): string | null;  
    [ariaInvalid](#ariainvalid): string | null;  
    [ariaKeyShortcuts](#ariakeyshortcuts): string | null;  
    [ariaLabel](#arialabel): string | null;  
    [ariaLabelledByElements](#arialabelledbyelements): readonly [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\[\] | null;  
    [ariaLevel](#arialevel): string | null;  
    [ariaLive](#arialive): string | null;  
    [ariaModal](#ariamodal): string | null;  
    [ariaMultiLine](#ariamultiline): string | null;  
    [ariaMultiSelectable](#ariamultiselectable): string | null;  
    [ariaOrientation](#ariaorientation): string | null;  
    [ariaOwnsElements](#ariaownselements): readonly [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\[\] | null;  
    [ariaPlaceholder](#ariaplaceholder): string | null;  
    [ariaPosInSet](#ariaposinset): string | null;  
    [ariaPressed](#ariapressed): string | null;  
    [ariaReadOnly](#ariareadonly): string | null;  
    [ariaRelevant](#ariarelevant): string | null;  
    [ariaRequired](#ariarequired): string | null;  
    [ariaRoleDescription](#ariaroledescription): string | null;  
    [ariaRowCount](#ariarowcount): string | null;  
    [ariaRowIndex](#ariarowindex): string | null;  
    [ariaRowIndexText](#ariarowindextext): string | null;  
    [ariaRowSpan](#ariarowspan): string | null;  
    [ariaSelected](#ariaselected): string | null;  
    [ariaSetSize](#ariasetsize): string | null;  
    [ariaSort](#ariasort): string | null;  
    [ariaValueMax](#ariavaluemax): string | null;  
    [ariaValueMin](#ariavaluemin): string | null;  
    [ariaValueNow](#ariavaluenow): string | null;  
    [ariaValueText](#ariavaluetext): string | null;  
    [assignedSlot](#assignedslot): [HTMLSlotElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLSlotElement/) | null;  
    [ATTRIBUTE\_NODE](#attribute_node): 2;  
    [attributes](#attributes): [NamedNodeMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.NamedNodeMap/);  
    [attributeStyleMap](#attributestylemap): [StylePropertyMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.StylePropertyMap/);  
    [autocapitalize](#autocapitalize): string;  
    [autocomplete](#autocomplete): [AutoFillBase](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.AutoFillBase/);  
    [autocorrect](#autocorrect): boolean;  
    [autofocus](#autofocus): boolean;  
    [baseURI](#baseuri): string;  
    [CDATA\_SECTION\_NODE](#cdata_section_node): 4;  
    [childElementCount](#childelementcount): number;  
    [childNodes](#childnodes): [NodeListOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.NodeListOf/)<[ChildNode](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ChildNode/)\>;  
    [children](#children): [HTMLCollection](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollection/);  
    [className](#classname): string;  
    [clientHeight](#clientheight): number;  
    [clientLeft](#clientleft): number;  
    [clientTop](#clienttop): number;  
    [clientWidth](#clientwidth): number;  
    [COMMENT\_NODE](#comment_node): 8;  
    [contentEditable](#contenteditable): string;  
    [currentCSSZoom](#currentcsszoom): number;  
    [customElementRegistry](#customelementregistry): [CustomElementRegistry](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.CustomElementRegistry/) | null;  
    [dataset](#dataset): [DOMStringMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DOMStringMap/);  
    [dir](#dir): string;  
    [DOCUMENT\_FRAGMENT\_NODE](#document_fragment_node): 11;  
    [DOCUMENT\_NODE](#document_node): 9;  
    [DOCUMENT\_POSITION\_CONTAINED\_BY](#document_position_contained_by): 16;  
    [DOCUMENT\_POSITION\_CONTAINS](#document_position_contains): 8;  
    [DOCUMENT\_POSITION\_DISCONNECTED](#document_position_disconnected): 1;  
    [DOCUMENT\_POSITION\_FOLLOWING](#document_position_following): 4;  
    [DOCUMENT\_POSITION\_IMPLEMENTATION\_SPECIFIC](#document_position_implementation_specific): 32;  
    [DOCUMENT\_POSITION\_PRECEDING](#document_position_preceding): 2;  
    [DOCUMENT\_TYPE\_NODE](#document_type_node): 10;  
    [draggable](#draggable): boolean;  
    [ELEMENT\_NODE](#element_node): 1;  
    [elements](#elements): [HTMLFormControlsCollection](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLFormControlsCollection/);  
    [encoding](#encoding): string;  
    [enctype](#enctype): string;  
    [enterKeyHint](#enterkeyhint): string;  
    [ENTITY\_NODE](#entity_node): 6;  
    [ENTITY\_REFERENCE\_NODE](#entity_reference_node): 5;  
    [firstChild](#firstchild): [ChildNode](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ChildNode/) | null;  
    [firstElementChild](#firstelementchild): [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/) | null;  
    [hidden](#hidden): boolean | "until-found";  
    [id](#id): string;  
    [inert](#inert): boolean;  
    [innerHTML](#innerhtml): string;  
    [innerText](#innertext): string;  
    [inputMode](#inputmode): string;  
    [isConnected](#isconnected): boolean;  
    [isContentEditable](#iscontenteditable): boolean;  
    [lang](#lang): string;  
    [lastChild](#lastchild): [ChildNode](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ChildNode/) | null;  
    [lastElementChild](#lastelementchild): [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/) | null;  
    [length](#length): number;  
    [localName](#localname): string;  
    [method](#method): string;  
    [name](#name): string;  
    [namespaceURI](#namespaceuri): string | null;  
    [nextElementSibling](#nextelementsibling): [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/) | null;  
    [nextSibling](#nextsibling): [ChildNode](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ChildNode/) | null;  
    [nodeName](#nodename): string;  
    [nodeType](#nodetype): number;  
    [nodeValue](#nodevalue): string | null;  
    [nonce](#nonce): string;  
    [NOTATION\_NODE](#notation_node): 12;  
    [noValidate](#novalidate): boolean;  
    [offsetHeight](#offsetheight): number;  
    [offsetLeft](#offsetleft): number;  
    [offsetParent](#offsetparent): [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/) | null;  
    [offsetTop](#offsettop): number;  
    [offsetWidth](#offsetwidth): number;  
    [onabort](#onabort): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [UIEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.UIEvent/)) \=> any) | null;  
    [onanimationcancel](#onanimationcancel):  
        | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [AnimationEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.AnimationEvent/)) \=> any)  
        | null;  
    [onanimationend](#onanimationend):  
        | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [AnimationEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.AnimationEvent/)) \=> any)  
        | null;  
    [onanimationiteration](#onanimationiteration):  
        | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [AnimationEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.AnimationEvent/)) \=> any)  
        | null;  
    [onanimationstart](#onanimationstart):  
        | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [AnimationEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.AnimationEvent/)) \=> any)  
        | null;  
    [onauxclick](#onauxclick): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [PointerEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PointerEvent/)) \=> any) | null;  
    [onbeforeinput](#onbeforeinput): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [InputEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.InputEvent/)) \=> any) | null;  
    [onbeforematch](#onbeforematch): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [onbeforetoggle](#onbeforetoggle):  
        | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [ToggleEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ToggleEvent/)) \=> any)  
        | null;  
    [onblur](#onblur): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [FocusEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.FocusEvent/)) \=> any) | null;  
    [oncancel](#oncancel): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [oncanplay](#oncanplay): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [oncanplaythrough](#oncanplaythrough): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [onchange](#onchange): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [onclick](#onclick): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [PointerEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PointerEvent/)) \=> any) | null;  
    [onclose](#onclose): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [oncommand](#oncommand): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [oncontextlost](#oncontextlost): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [oncontextmenu](#oncontextmenu):  
        | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [PointerEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PointerEvent/)) \=> any)  
        | null;  
    [oncontextrestored](#oncontextrestored): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [oncopy](#oncopy): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [ClipboardEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ClipboardEvent/)) \=> any) | null;  
    [oncuechange](#oncuechange): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [oncut](#oncut): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [ClipboardEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ClipboardEvent/)) \=> any) | null;  
    [ondblclick](#ondblclick): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [MouseEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MouseEvent/)) \=> any) | null;  
    [ondrag](#ondrag): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [DragEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DragEvent/)) \=> any) | null;  
    [ondragend](#ondragend): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [DragEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DragEvent/)) \=> any) | null;  
    [ondragenter](#ondragenter): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [DragEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DragEvent/)) \=> any) | null;  
    [ondragleave](#ondragleave): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [DragEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DragEvent/)) \=> any) | null;  
    [ondragover](#ondragover): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [DragEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DragEvent/)) \=> any) | null;  
    [ondragstart](#ondragstart): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [DragEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DragEvent/)) \=> any) | null;  
    [ondrop](#ondrop): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [DragEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DragEvent/)) \=> any) | null;  
    [ondurationchange](#ondurationchange): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [onemptied](#onemptied): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [onended](#onended): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [onerror](#onerror): [OnErrorEventHandler](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.OnErrorEventHandler/);  
    [onfocus](#onfocus): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [FocusEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.FocusEvent/)) \=> any) | null;  
    [onformdata](#onformdata): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [FormDataEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.FormDataEvent/)) \=> any) | null;  
    [onfullscreenchange](#onfullscreenchange): ((this: [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/), ev: Event) \=> any) | null;  
    [onfullscreenerror](#onfullscreenerror): ((this: [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/), ev: Event) \=> any) | null;  
    [ongotpointercapture](#ongotpointercapture):  
        | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [PointerEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PointerEvent/)) \=> any)  
        | null;  
    [oninput](#oninput): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [InputEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.InputEvent/)) \=> any) | null;  
    [oninvalid](#oninvalid): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [onkeydown](#onkeydown): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [KeyboardEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.KeyboardEvent/)) \=> any) | null;  
    [onkeypress](#onkeypress): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [KeyboardEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.KeyboardEvent/)) \=> any) | null;  
    [onkeyup](#onkeyup): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [KeyboardEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.KeyboardEvent/)) \=> any) | null;  
    [onload](#onload): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [onloadeddata](#onloadeddata): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [onloadedmetadata](#onloadedmetadata): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [onloadstart](#onloadstart): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [onlostpointercapture](#onlostpointercapture):  
        | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [PointerEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PointerEvent/)) \=> any)  
        | null;  
    [onmousedown](#onmousedown): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [MouseEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MouseEvent/)) \=> any) | null;  
    [onmouseenter](#onmouseenter): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [MouseEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MouseEvent/)) \=> any) | null;  
    [onmouseleave](#onmouseleave): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [MouseEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MouseEvent/)) \=> any) | null;  
    [onmousemove](#onmousemove): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [MouseEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MouseEvent/)) \=> any) | null;  
    [onmouseout](#onmouseout): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [MouseEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MouseEvent/)) \=> any) | null;  
    [onmouseover](#onmouseover): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [MouseEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MouseEvent/)) \=> any) | null;  
    [onmouseup](#onmouseup): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [MouseEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MouseEvent/)) \=> any) | null;  
    [onpaste](#onpaste): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [ClipboardEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ClipboardEvent/)) \=> any) | null;  
    [onpause](#onpause): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [onplay](#onplay): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [onplaying](#onplaying): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [onpointercancel](#onpointercancel):  
        | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [PointerEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PointerEvent/)) \=> any)  
        | null;  
    [onpointerdown](#onpointerdown):  
        | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [PointerEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PointerEvent/)) \=> any)  
        | null;  
    [onpointerenter](#onpointerenter):  
        | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [PointerEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PointerEvent/)) \=> any)  
        | null;  
    [onpointerleave](#onpointerleave):  
        | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [PointerEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PointerEvent/)) \=> any)  
        | null;  
    [onpointermove](#onpointermove):  
        | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [PointerEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PointerEvent/)) \=> any)  
        | null;  
    [onpointerout](#onpointerout): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [PointerEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PointerEvent/)) \=> any) | null;  
    [onpointerover](#onpointerover):  
        | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [PointerEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PointerEvent/)) \=> any)  
        | null;  
    [onpointerrawupdate](#onpointerrawupdate): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [onpointerup](#onpointerup): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [PointerEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PointerEvent/)) \=> any) | null;  
    [onprogress](#onprogress): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [ProgressEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ProgressEvent/)) \=> any) | null;  
    [onratechange](#onratechange): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [onreset](#onreset): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [onresize](#onresize): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [UIEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.UIEvent/)) \=> any) | null;  
    [onscroll](#onscroll): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [onscrollend](#onscrollend): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [onsecuritypolicyviolation](#onsecuritypolicyviolation):  
        | (  
            (this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [SecurityPolicyViolationEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SecurityPolicyViolationEvent/)) \=> any  
        )  
        | null;  
    [onseeked](#onseeked): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [onseeking](#onseeking): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [onselect](#onselect): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [onselectionchange](#onselectionchange): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [onselectstart](#onselectstart): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [onslotchange](#onslotchange): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [onstalled](#onstalled): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [onsubmit](#onsubmit): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [SubmitEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SubmitEvent/)) \=> any) | null;  
    [onsuspend](#onsuspend): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [ontimeupdate](#ontimeupdate): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [ontoggle](#ontoggle): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [ToggleEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ToggleEvent/)) \=> any) | null;  
    [ontouchcancel](#ontouchcancel)?: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [TouchEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.TouchEvent/)) \=> any) | null;  
    [ontouchend](#ontouchend)?: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [TouchEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.TouchEvent/)) \=> any) | null;  
    [ontouchmove](#ontouchmove)?: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [TouchEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.TouchEvent/)) \=> any) | null;  
    [ontouchstart](#ontouchstart)?: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [TouchEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.TouchEvent/)) \=> any) | null;  
    [ontransitioncancel](#ontransitioncancel):  
        | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [TransitionEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.TransitionEvent/)) \=> any)  
        | null;  
    [ontransitionend](#ontransitionend):  
        | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [TransitionEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.TransitionEvent/)) \=> any)  
        | null;  
    [ontransitionrun](#ontransitionrun):  
        | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [TransitionEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.TransitionEvent/)) \=> any)  
        | null;  
    [ontransitionstart](#ontransitionstart):  
        | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [TransitionEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.TransitionEvent/)) \=> any)  
        | null;  
    [onvolumechange](#onvolumechange): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [onwaiting](#onwaiting): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null;  
    [onwebkitanimationend](#onwebkitanimationend):  
        | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any)  
        | null;  
    [onwebkitanimationiteration](#onwebkitanimationiteration):  
        | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any)  
        | null;  
    [onwebkitanimationstart](#onwebkitanimationstart):  
        | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any)  
        | null;  
    [onwebkittransitionend](#onwebkittransitionend):  
        | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any)  
        | null;  
    [onwheel](#onwheel): ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [WheelEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.WheelEvent/)) \=> any) | null;  
    [outerHTML](#outerhtml): string;  
    [outerText](#outertext): string;  
    [ownerDocument](#ownerdocument): [Document](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Document/);  
    [parentElement](#parentelement): [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/) | null;  
    [parentNode](#parentnode): [ParentNode](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ParentNode/) | null;  
    [popover](#popover): string | null;  
    [prefix](#prefix): string | null;  
    [previousElementSibling](#previouselementsibling): [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/) | null;  
    [previousSibling](#previoussibling): [ChildNode](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ChildNode/) | null;  
    [PROCESSING\_INSTRUCTION\_NODE](#processing_instruction_node): 7;  
    [rel](#rel): string;  
    [role](#role): string | null;  
    [scrollHeight](#scrollheight): number;  
    [scrollLeft](#scrollleft): number;  
    [scrollTop](#scrolltop): number;  
    [scrollWidth](#scrollwidth): number;  
    [shadowRoot](#shadowroot): [ShadowRoot](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ShadowRoot/) | null;  
    [slot](#slot): string;  
    [spellcheck](#spellcheck): boolean;  
    [tabIndex](#tabindex): number;  
    [tagName](#tagname): string;  
    [target](#target): string;  
    [TEXT\_NODE](#text_node): 3;  
    [title](#title): string;  
    [translate](#translate): boolean;  
    [writingSuggestions](#writingsuggestions): string;  
    get [classList](#classlistclasslist)(): [DOMTokenList](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DOMTokenList/);  
    set [classList](#classlistclasslist-1)(value: string): void;  
    get [part](#partpart)(): [DOMTokenList](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DOMTokenList/);  
    set [part](#partpart-1)(value: string): void;  
    get [relList](#rellistrellist)(): [DOMTokenList](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DOMTokenList/);  
    set [relList](#rellistrellist-1)(value: string): void;  
    get [style](#stylestyle)(): [CSSStyleDeclaration](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.CSSStyleDeclaration/);  
    set [style](#stylestyle-1)(cssText: string): void;  
    get [textContent](#textcontenttextcontent)(): string;  
    set [textContent](#textcontenttextcontent-1)(value: string | null): void;  
    ["\[iterator\]"](#iterator-1)(): [ArrayIterator](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ArrayIterator/)<[Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\>;  
    [addEventListener](#addeventlistener-1)<[K](#addeventlistenerk) extends keyof [HTMLElementEventMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementEventMap/)\>(  
        type: [K](#addeventlistenerk),  
        listener: (this: HTMLFormElement, ev: [HTMLElementEventMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementEventMap/)\[[K](#addeventlistenerk)\]) \=> any,  
        options?: boolean | AddEventListenerOptions,  
    ): void;  
    [addEventListener](#addeventlistener-2)(  
        type: string,  
        listener: [EventListenerOrEventListenerObject](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.EventListenerOrEventListenerObject/),  
        options?: boolean | AddEventListenerOptions,  
    ): void;  
    [after](#after-1)(...nodes: (string | [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/))\[\]): void;  
    [animate](#animate-1)(  
        keyframes: [Keyframe](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Keyframe/)\[\] | [PropertyIndexedKeyframes](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PropertyIndexedKeyframes/) | null,  
        options?: number | [KeyframeAnimationOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.KeyframeAnimationOptions/),  
    ): [Animation](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Animation/);  
    [append](#append-1)(...nodes: (string | [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/))\[\]): void;  
    [appendChild](#appendchild-1)<[T](#appendchildt) extends [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/)\>(node: [T](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#appendchildt)): [T](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#appendchildt);  
    [attachInternals](#attachinternals-1)(): [ElementInternals](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ElementInternals/);  
    [attachShadow](#attachshadow-1)(init: [ShadowRootInit](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ShadowRootInit/)): [ShadowRoot](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ShadowRoot/);  
    [before](#before-1)(...nodes: (string | [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/))\[\]): void;  
    [blur](#blur-1)(): void;  
    [checkValidity](#checkvalidity-1)(): boolean;  
    [checkVisibility](#checkvisibility-1)(options?: [CheckVisibilityOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.CheckVisibilityOptions/)): boolean;  
    [click](#click-1)(): void;  
    [cloneNode](#clonenode-1)(subtree?: boolean): [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/);  
    [closest](#closest-1)<[K](#closestk) extends keyof [HTMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementTagNameMap/)\>(  
        selector: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#closestk),  
    ): [HTMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#closestk)\] | null;  
    [closest](#closest-2)<[K](#closestk-1) extends keyof [SVGElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElementTagNameMap/)\>(  
        selector: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#closestk-1),  
    ): [SVGElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#closestk-1)\] | null;  
    [closest](#closest-3)<[K](#closestk-2) extends keyof [MathMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElementTagNameMap/)\>(  
        selector: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#closestk-2),  
    ): [MathMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#closestk-2)\] | null;  
    [closest](#closest-4)<[E](#closeste) extends [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/) \= [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\>(selectors: string): [E](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#closeste) | null;  
    [compareDocumentPosition](#comparedocumentposition-1)(other: [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/)): number;  
    [computedStyleMap](#computedstylemap-1)(): [StylePropertyMapReadOnly](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.StylePropertyMapReadOnly/);  
    [contains](#contains-1)(other: [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/) | null): boolean;  
    [dispatchEvent](#dispatchevent-1)(event: Event): boolean;  
    [focus](#focus-1)(options?: [FocusOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.FocusOptions/)): void;  
    [getAnimations](#getanimations-1)(options?: [GetAnimationsOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GetAnimationsOptions/)): [Animation](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Animation/)\[\];  
    [getAttribute](#getattribute-1)(qualifiedName: string): string | null;  
    [getAttributeNames](#getattributenames-1)(): string\[\];  
    [getAttributeNode](#getattributenode-1)(qualifiedName: string): [Attr](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Attr/) | null;  
    [getAttributeNodeNS](#getattributenodens-1)(  
        namespace: string | null,  
        localName: string,  
    ): [Attr](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Attr/) | null;  
    [getAttributeNS](#getattributens-1)(namespace: string | null, localName: string): string | null;  
    [getBoundingClientRect](#getboundingclientrect-1)(): [DOMRect](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DOMRect/);  
    [getClientRects](#getclientrects-1)(): [DOMRectList](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DOMRectList/);  
    [getElementsByClassName](#getelementsbyclassname-1)(classNames: string): [HTMLCollectionOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollectionOf/)<[Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\>;  
    [getElementsByTagName](#getelementsbytagname-1)<[K](#getelementsbytagnamek) extends keyof [HTMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementTagNameMap/)\>(  
        qualifiedName: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#getelementsbytagnamek),  
    ): [HTMLCollectionOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollectionOf/)<[HTMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#getelementsbytagnamek)\]\>;  
    [getElementsByTagName](#getelementsbytagname-2)<[K](#getelementsbytagnamek-1) extends keyof [SVGElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElementTagNameMap/)\>(  
        qualifiedName: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#getelementsbytagnamek-1),  
    ): [HTMLCollectionOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollectionOf/)<[SVGElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#getelementsbytagnamek-1)\]\>;  
    [getElementsByTagName](#getelementsbytagname-3)<[K](#getelementsbytagnamek-2) extends keyof [MathMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElementTagNameMap/)\>(  
        qualifiedName: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#getelementsbytagnamek-2),  
    ): [HTMLCollectionOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollectionOf/)<[MathMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#getelementsbytagnamek-2)\]\>;  
    [getElementsByTagName](#getelementsbytagname-4)<[K](#getelementsbytagnamek-3) extends keyof [HTMLElementDeprecatedTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementDeprecatedTagNameMap/)\>(  
        qualifiedName: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#getelementsbytagnamek-3),  
    ): [HTMLCollectionOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollectionOf/)<[HTMLElementDeprecatedTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementDeprecatedTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#getelementsbytagnamek-3)\]\>;  
    [getElementsByTagName](#getelementsbytagname-5)(qualifiedName: string): [HTMLCollectionOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollectionOf/)<[Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\>;  
    [getElementsByTagNameNS](#getelementsbytagnamens-1)(  
        namespaceURI: "http://www.w3.org/1999/xhtml",  
        localName: string,  
    ): [HTMLCollectionOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollectionOf/)<[HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/)\>;  
    [getElementsByTagNameNS](#getelementsbytagnamens-2)(  
        namespaceURI: "http://www.w3.org/2000/svg",  
        localName: string,  
    ): [HTMLCollectionOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollectionOf/)<[SVGElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElement/)\>;  
    [getElementsByTagNameNS](#getelementsbytagnamens-3)(  
        namespaceURI: "http://www.w3.org/1998/Math/MathML",  
        localName: string,  
    ): [HTMLCollectionOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollectionOf/)<[MathMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElement/)\>;  
    [getElementsByTagNameNS](#getelementsbytagnamens-4)(  
        namespace: string | null,  
        localName: string,  
    ): [HTMLCollectionOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollectionOf/)<[Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\>;  
    [getHTML](#gethtml-1)(options?: [GetHTMLOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GetHTMLOptions/)): string;  
    [getRootNode](#getrootnode-1)(options?: [GetRootNodeOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GetRootNodeOptions/)): [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/);  
    [hasAttribute](#hasattribute-1)(qualifiedName: string): boolean;  
    [hasAttributeNS](#hasattributens-1)(namespace: string | null, localName: string): boolean;  
    [hasAttributes](#hasattributes-1)(): boolean;  
    [hasChildNodes](#haschildnodes-1)(): boolean;  
    [hasPointerCapture](#haspointercapture-1)(pointerId: number): boolean;  
    [hidePopover](#hidepopover-1)(): void;  
    [insertAdjacentElement](#insertadjacentelement-1)(  
        where: [InsertPosition](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.InsertPosition/),  
        element: [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/),  
    ): [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/) | null;  
    [insertAdjacentHTML](#insertadjacenthtml-1)(position: [InsertPosition](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.InsertPosition/), string: string): void;  
    [insertAdjacentText](#insertadjacenttext-1)(where: [InsertPosition](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.InsertPosition/), data: string): void;  
    [insertBefore](#insertbefore-1)<[T](#insertbeforet) extends [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/)\>(node: [T](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#insertbeforet), child: [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/) | null): [T](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#insertbeforet);  
    [isDefaultNamespace](#isdefaultnamespace-1)(namespace: string | null): boolean;  
    [isEqualNode](#isequalnode-1)(otherNode: [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/) | null): boolean;  
    [isSameNode](#issamenode-1)(otherNode: [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/) | null): boolean;  
    [lookupNamespaceURI](#lookupnamespaceuri-1)(prefix: string | null): string | null;  
    [lookupPrefix](#lookupprefix-1)(namespace: string | null): string | null;  
    [matches](#matches-1)<[K](#matchesk) extends keyof [HTMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementTagNameMap/)\>(  
        selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#matchesk),  
    ): this is [HTMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#matchesk)\];  
    [matches](#matches-2)<[K](#matchesk-1) extends keyof [SVGElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElementTagNameMap/)\>(  
        selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#matchesk-1),  
    ): this is [SVGElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#matchesk-1)\];  
    [matches](#matches-3)<[K](#matchesk-2) extends keyof [MathMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElementTagNameMap/)\>(  
        selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#matchesk-2),  
    ): this is [MathMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#matchesk-2)\];  
    [matches](#matches-4)(selectors: string): boolean;  
    [moveBefore](#movebefore-1)(node: [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/), child: [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/) | null): void;  
    [normalize](#normalize-1)(): void;  
    [prepend](#prepend-1)(...nodes: (string | [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/))\[\]): void;  
    [querySelector](#queryselector-1)<[K](#queryselectork) extends keyof [HTMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementTagNameMap/)\>(  
        selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectork),  
    ): [HTMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectork)\] | null;  
    [querySelector](#queryselector-2)<[K](#queryselectork-1) extends keyof [SVGElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElementTagNameMap/)\>(  
        selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectork-1),  
    ): [SVGElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectork-1)\] | null;  
    [querySelector](#queryselector-3)<[K](#queryselectork-2) extends keyof [MathMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElementTagNameMap/)\>(  
        selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectork-2),  
    ): [MathMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectork-2)\] | null;  
    [querySelector](#queryselector-4)<[K](#queryselectork-3) extends keyof [HTMLElementDeprecatedTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementDeprecatedTagNameMap/)\>(  
        selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectork-3),  
    ): [HTMLElementDeprecatedTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementDeprecatedTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectork-3)\] | null;  
    [querySelector](#queryselector-5)<[E](#queryselectore) extends [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/) \= [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\>(selectors: string): [E](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectore) | null;  
    [querySelectorAll](#queryselectorall-1)<[K](#queryselectorallk) extends keyof [HTMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementTagNameMap/)\>(  
        selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectorallk),  
    ): [NodeListOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.NodeListOf/)<[HTMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectorallk)\]\>;  
    [querySelectorAll](#queryselectorall-2)<[K](#queryselectorallk-1) extends keyof [SVGElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElementTagNameMap/)\>(  
        selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectorallk-1),  
    ): [NodeListOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.NodeListOf/)<[SVGElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectorallk-1)\]\>;  
    [querySelectorAll](#queryselectorall-3)<[K](#queryselectorallk-2) extends keyof [MathMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElementTagNameMap/)\>(  
        selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectorallk-2),  
    ): [NodeListOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.NodeListOf/)<[MathMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectorallk-2)\]\>;  
    [querySelectorAll](#queryselectorall-4)<[K](#queryselectorallk-3) extends keyof [HTMLElementDeprecatedTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementDeprecatedTagNameMap/)\>(  
        selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectorallk-3),  
    ): [NodeListOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.NodeListOf/)<[HTMLElementDeprecatedTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementDeprecatedTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectorallk-3)\]\>;  
    [querySelectorAll](#queryselectorall-5)<[E](#queryselectoralle) extends [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/) \= [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\>(  
        selectors: string,  
    ): [NodeListOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.NodeListOf/)<[E](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectoralle)\>;  
    [releasePointerCapture](#releasepointercapture-1)(pointerId: number): void;  
    [remove](#remove-1)(): void;  
    [removeAttribute](#removeattribute-1)(qualifiedName: string): void;  
    [removeAttributeNode](#removeattributenode-1)(attr: [Attr](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Attr/)): [Attr](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Attr/);  
    [removeAttributeNS](#removeattributens-1)(namespace: string | null, localName: string): void;  
    [removeChild](#removechild-1)<[T](#removechildt) extends [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/)\>(child: [T](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#removechildt)): [T](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#removechildt);  
    [removeEventListener](#removeeventlistener-1)<[K](#removeeventlistenerk) extends keyof [HTMLElementEventMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementEventMap/)\>(  
        type: [K](#removeeventlistenerk),  
        listener: (this: HTMLFormElement, ev: [HTMLElementEventMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementEventMap/)\[[K](#removeeventlistenerk)\]) \=> any,  
        options?: boolean | EventListenerOptions,  
    ): void;  
    [removeEventListener](#removeeventlistener-2)(  
        type: string,  
        listener: [EventListenerOrEventListenerObject](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.EventListenerOrEventListenerObject/),  
        options?: boolean | EventListenerOptions,  
    ): void;  
    [replaceChild](#replacechild-1)<[T](#replacechildt) extends [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/)\>(node: [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/), child: [T](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#replacechildt)): [T](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#replacechildt);  
    [replaceChildren](#replacechildren-1)(...nodes: (string | [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/))\[\]): void;  
    [replaceWith](#replacewith-1)(...nodes: (string | [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/))\[\]): void;  
    [reportValidity](#reportvalidity-1)(): boolean;  
    [requestFullscreen](#requestfullscreen-1)(options?: [FullscreenOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.FullscreenOptions/)): Promise<void\>;  
    [requestPointerLock](#requestpointerlock-1)(options?: [PointerLockOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PointerLockOptions/)): Promise<void\>;  
    [requestSubmit](#requestsubmit-1)(submitter?: [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/) | null): void;  
    [reset](#reset-1)(): void;  
    [scroll](#scroll-1)(options?: [ScrollToOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ScrollToOptions/)): void;  
    [scroll](#scroll-2)(x: number, y: number): void;  
    [scrollBy](#scrollby-1)(options?: [ScrollToOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ScrollToOptions/)): void;  
    [scrollBy](#scrollby-2)(x: number, y: number): void;  
    [scrollIntoView](#scrollintoview-1)(arg?: boolean | [ScrollIntoViewOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ScrollIntoViewOptions/)): void;  
    [scrollTo](#scrollto-1)(options?: [ScrollToOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ScrollToOptions/)): void;  
    [scrollTo](#scrollto-2)(x: number, y: number): void;  
    [setAttribute](#setattribute-1)(qualifiedName: string, value: string): void;  
    [setAttributeNode](#setattributenode-1)(attr: [Attr](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Attr/)): [Attr](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Attr/) | null;  
    [setAttributeNodeNS](#setattributenodens-1)(attr: [Attr](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Attr/)): [Attr](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Attr/) | null;  
    [setAttributeNS](#setattributens-1)(  
        namespace: string | null,  
        qualifiedName: string,  
        value: string,  
    ): void;  
    [setHTMLUnsafe](#sethtmlunsafe-1)(html: string): void;  
    [setPointerCapture](#setpointercapture-1)(pointerId: number): void;  
    [showPopover](#showpopover-1)(options?: [ShowPopoverOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ShowPopoverOptions/)): void;  
    [submit](#submit-1)(): void;  
    [toggleAttribute](#toggleattribute-1)(qualifiedName: string, force?: boolean): boolean;  
    [togglePopover](#togglepopover-1)(options?: boolean | [TogglePopoverOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.TogglePopoverOptions/)): boolean;  
    [webkitMatchesSelector](#webkitmatchesselector-1)(selectors: string): boolean;  
    \[index: number\]: [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/);  
    \[name: string\]: any;  
}

#### Hierarchy ([View Summary](https://docs.maptiler.com/sdk-js/api-reference/hierarchy/#Externals.HTMLFormElement))

-   [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/)
    -   HTMLFormElement

#### Indexable

-   \[index: number\]: [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)
    
-   \[name: string\]: any
    

##### Index

### Properties[](#properties)

[acceptCharset](#acceptcharset) [accessKey](#accesskey) [accessKeyLabel](#accesskeylabel) [action](#action) [ariaActiveDescendantElement](#ariaactivedescendantelement) [ariaAtomic](#ariaatomic) [ariaAutoComplete](#ariaautocomplete) [ariaBrailleLabel](#ariabraillelabel) [ariaBrailleRoleDescription](#ariabrailleroledescription) [ariaBusy](#ariabusy) [ariaChecked](#ariachecked) [ariaColCount](#ariacolcount) [ariaColIndex](#ariacolindex) [ariaColIndexText](#ariacolindextext) [ariaColSpan](#ariacolspan) [ariaControlsElements](#ariacontrolselements) [ariaCurrent](#ariacurrent) [ariaDescribedByElements](#ariadescribedbyelements) [ariaDescription](#ariadescription) [ariaDetailsElements](#ariadetailselements) [ariaDisabled](#ariadisabled) [ariaErrorMessageElements](#ariaerrormessageelements) [ariaExpanded](#ariaexpanded) [ariaFlowToElements](#ariaflowtoelements) [ariaHasPopup](#ariahaspopup) [ariaHidden](#ariahidden) [ariaInvalid](#ariainvalid) [ariaKeyShortcuts](#ariakeyshortcuts) [ariaLabel](#arialabel) [ariaLabelledByElements](#arialabelledbyelements) [ariaLevel](#arialevel) [ariaLive](#arialive) [ariaModal](#ariamodal) [ariaMultiLine](#ariamultiline) [ariaMultiSelectable](#ariamultiselectable) [ariaOrientation](#ariaorientation) [ariaOwnsElements](#ariaownselements) [ariaPlaceholder](#ariaplaceholder) [ariaPosInSet](#ariaposinset) [ariaPressed](#ariapressed) [ariaReadOnly](#ariareadonly) [ariaRelevant](#ariarelevant) [ariaRequired](#ariarequired) [ariaRoleDescription](#ariaroledescription) [ariaRowCount](#ariarowcount) [ariaRowIndex](#ariarowindex) [ariaRowIndexText](#ariarowindextext) [ariaRowSpan](#ariarowspan) [ariaSelected](#ariaselected) [ariaSetSize](#ariasetsize) [ariaSort](#ariasort) [ariaValueMax](#ariavaluemax) [ariaValueMin](#ariavaluemin) [ariaValueNow](#ariavaluenow) [ariaValueText](#ariavaluetext) [assignedSlot](#assignedslot) [ATTRIBUTE\_NODE](#attribute_node) [attributes](#attributes) [attributeStyleMap](#attributestylemap) [autocapitalize](#autocapitalize) [autocomplete](#autocomplete) [autocorrect](#autocorrect) [autofocus](#autofocus) [baseURI](#baseuri) [CDATA\_SECTION\_NODE](#cdata_section_node) [childElementCount](#childelementcount) [childNodes](#childnodes) [children](#children) [className](#classname) [clientHeight](#clientheight) [clientLeft](#clientleft) [clientTop](#clienttop) [clientWidth](#clientwidth) [COMMENT\_NODE](#comment_node) [contentEditable](#contenteditable) [currentCSSZoom](#currentcsszoom) [customElementRegistry](#customelementregistry) [dataset](#dataset) [dir](#dir) [DOCUMENT\_FRAGMENT\_NODE](#document_fragment_node) [DOCUMENT\_NODE](#document_node) [DOCUMENT\_POSITION\_CONTAINED\_BY](#document_position_contained_by) [DOCUMENT\_POSITION\_CONTAINS](#document_position_contains) [DOCUMENT\_POSITION\_DISCONNECTED](#document_position_disconnected) [DOCUMENT\_POSITION\_FOLLOWING](#document_position_following) [DOCUMENT\_POSITION\_IMPLEMENTATION\_SPECIFIC](#document_position_implementation_specific) [DOCUMENT\_POSITION\_PRECEDING](#document_position_preceding) [DOCUMENT\_TYPE\_NODE](#document_type_node) [draggable](#draggable) [ELEMENT\_NODE](#element_node) [elements](#elements) [encoding](#encoding) [enctype](#enctype) [enterKeyHint](#enterkeyhint) [ENTITY\_NODE](#entity_node) [ENTITY\_REFERENCE\_NODE](#entity_reference_node) [firstChild](#firstchild) [firstElementChild](#firstelementchild) [hidden](#hidden) [id](#id) [inert](#inert) [innerHTML](#innerhtml) [innerText](#innertext) [inputMode](#inputmode) [isConnected](#isconnected) [isContentEditable](#iscontenteditable) [lang](#lang) [lastChild](#lastchild) [lastElementChild](#lastelementchild) [length](#length) [localName](#localname) [method](#method) [name](#name) [namespaceURI](#namespaceuri) [nextElementSibling](#nextelementsibling) [nextSibling](#nextsibling) [nodeName](#nodename) [nodeType](#nodetype) [nodeValue](#nodevalue) [nonce](#nonce) [NOTATION\_NODE](#notation_node) [noValidate](#novalidate) [offsetHeight](#offsetheight) [offsetLeft](#offsetleft) [offsetParent](#offsetparent) [offsetTop](#offsettop) [offsetWidth](#offsetwidth) [onabort](#onabort) [onanimationcancel](#onanimationcancel) [onanimationend](#onanimationend) [onanimationiteration](#onanimationiteration) [onanimationstart](#onanimationstart) [onauxclick](#onauxclick) [onbeforeinput](#onbeforeinput) [onbeforematch](#onbeforematch) [onbeforetoggle](#onbeforetoggle) [onblur](#onblur) [oncancel](#oncancel) [oncanplay](#oncanplay) [oncanplaythrough](#oncanplaythrough) [onchange](#onchange) [onclick](#onclick) [onclose](#onclose) [oncommand](#oncommand) [oncontextlost](#oncontextlost) [oncontextmenu](#oncontextmenu) [oncontextrestored](#oncontextrestored) [oncopy](#oncopy) [oncuechange](#oncuechange) [oncut](#oncut) [ondblclick](#ondblclick) [ondrag](#ondrag) [ondragend](#ondragend) [ondragenter](#ondragenter) [ondragleave](#ondragleave) [ondragover](#ondragover) [ondragstart](#ondragstart) [ondrop](#ondrop) [ondurationchange](#ondurationchange) [onemptied](#onemptied) [onended](#onended) [onerror](#onerror) [onfocus](#onfocus) [onformdata](#onformdata) [onfullscreenchange](#onfullscreenchange) [onfullscreenerror](#onfullscreenerror) [ongotpointercapture](#ongotpointercapture) [oninput](#oninput) [oninvalid](#oninvalid) [onkeydown](#onkeydown) [onkeypress](#onkeypress) [onkeyup](#onkeyup) [onload](#onload) [onloadeddata](#onloadeddata) [onloadedmetadata](#onloadedmetadata) [onloadstart](#onloadstart) [onlostpointercapture](#onlostpointercapture) [onmousedown](#onmousedown) [onmouseenter](#onmouseenter) [onmouseleave](#onmouseleave) [onmousemove](#onmousemove) [onmouseout](#onmouseout) [onmouseover](#onmouseover) [onmouseup](#onmouseup) [onpaste](#onpaste) [onpause](#onpause) [onplay](#onplay) [onplaying](#onplaying) [onpointercancel](#onpointercancel) [onpointerdown](#onpointerdown) [onpointerenter](#onpointerenter) [onpointerleave](#onpointerleave) [onpointermove](#onpointermove) [onpointerout](#onpointerout) [onpointerover](#onpointerover) [onpointerrawupdate](#onpointerrawupdate) [onpointerup](#onpointerup) [onprogress](#onprogress) [onratechange](#onratechange) [onreset](#onreset) [onresize](#onresize) [onscroll](#onscroll) [onscrollend](#onscrollend) [onsecuritypolicyviolation](#onsecuritypolicyviolation) [onseeked](#onseeked) [onseeking](#onseeking) [onselect](#onselect) [onselectionchange](#onselectionchange) [onselectstart](#onselectstart) [onslotchange](#onslotchange) [onstalled](#onstalled) [onsubmit](#onsubmit) [onsuspend](#onsuspend) [ontimeupdate](#ontimeupdate) [ontoggle](#ontoggle) [ontouchcancel?](#ontouchcancel) [ontouchend?](#ontouchend) [ontouchmove?](#ontouchmove) [ontouchstart?](#ontouchstart) [ontransitioncancel](#ontransitioncancel) [ontransitionend](#ontransitionend) [ontransitionrun](#ontransitionrun) [ontransitionstart](#ontransitionstart) [onvolumechange](#onvolumechange) [onwaiting](#onwaiting) [onwebkitanimationend](#onwebkitanimationend) [onwebkitanimationiteration](#onwebkitanimationiteration) [onwebkitanimationstart](#onwebkitanimationstart) [onwebkittransitionend](#onwebkittransitionend) [onwheel](#onwheel) [outerHTML](#outerhtml) [outerText](#outertext) [ownerDocument](#ownerdocument) [parentElement](#parentelement) [parentNode](#parentnode) [popover](#popover) [prefix](#prefix) [previousElementSibling](#previouselementsibling) [previousSibling](#previoussibling) [PROCESSING\_INSTRUCTION\_NODE](#processing_instruction_node) [rel](#rel) [role](#role) [scrollHeight](#scrollheight) [scrollLeft](#scrollleft) [scrollTop](#scrolltop) [scrollWidth](#scrollwidth) [shadowRoot](#shadowroot) [slot](#slot) [spellcheck](#spellcheck) [tabIndex](#tabindex) [tagName](#tagname) [target](#target) [TEXT\_NODE](#text_node) [title](#title) [translate](#translate) [writingSuggestions](#writingsuggestions)

### Accessors[](#accessors)

[classList](#classlist) [part](#part) [relList](#rellist) [style](#style) [textContent](#textcontent)

### Methods[](#methods)

[\[iterator\]](#iterator) [addEventListener](#addeventlistener) [after](#after) [animate](#animate) [append](#append) [appendChild](#appendchild) [attachInternals](#attachinternals) [attachShadow](#attachshadow) [before](#before) [blur](#blur) [checkValidity](#checkvalidity) [checkVisibility](#checkvisibility) [click](#click) [cloneNode](#clonenode) [closest](#closest) [compareDocumentPosition](#comparedocumentposition) [computedStyleMap](#computedstylemap) [contains](#contains) [dispatchEvent](#dispatchevent) [focus](#focus) [getAnimations](#getanimations) [getAttribute](#getattribute) [getAttributeNames](#getattributenames) [getAttributeNode](#getattributenode) [getAttributeNodeNS](#getattributenodens) [getAttributeNS](#getattributens) [getBoundingClientRect](#getboundingclientrect) [getClientRects](#getclientrects) [getElementsByClassName](#getelementsbyclassname) [getElementsByTagName](#getelementsbytagname) [getElementsByTagNameNS](#getelementsbytagnamens) [getHTML](#gethtml) [getRootNode](#getrootnode) [hasAttribute](#hasattribute) [hasAttributeNS](#hasattributens) [hasAttributes](#hasattributes) [hasChildNodes](#haschildnodes) [hasPointerCapture](#haspointercapture) [hidePopover](#hidepopover) [insertAdjacentElement](#insertadjacentelement) [insertAdjacentHTML](#insertadjacenthtml) [insertAdjacentText](#insertadjacenttext) [insertBefore](#insertbefore) [isDefaultNamespace](#isdefaultnamespace) [isEqualNode](#isequalnode) [isSameNode](#issamenode) [lookupNamespaceURI](#lookupnamespaceuri) [lookupPrefix](#lookupprefix) [matches](#matches) [moveBefore](#movebefore) [normalize](#normalize) [prepend](#prepend) [querySelector](#queryselector) [querySelectorAll](#queryselectorall) [releasePointerCapture](#releasepointercapture) [remove](#remove) [removeAttribute](#removeattribute) [removeAttributeNode](#removeattributenode) [removeAttributeNS](#removeattributens) [removeChild](#removechild) [removeEventListener](#removeeventlistener) [replaceChild](#replacechild) [replaceChildren](#replacechildren) [replaceWith](#replacewith) [reportValidity](#reportvalidity) [requestFullscreen](#requestfullscreen) [requestPointerLock](#requestpointerlock) [requestSubmit](#requestsubmit) [reset](#reset) [scroll](#scroll) [scrollBy](#scrollby) [scrollIntoView](#scrollintoview) [scrollTo](#scrollto) [setAttribute](#setattribute) [setAttributeNode](#setattributenode) [setAttributeNodeNS](#setattributenodens) [setAttributeNS](#setattributens) [setHTMLUnsafe](#sethtmlunsafe) [setPointerCapture](#setpointercapture) [showPopover](#showpopover) [submit](#submit) [toggleAttribute](#toggleattribute) [togglePopover](#togglepopover) [webkitMatchesSelector](#webkitmatchesselector)

## Properties[](#properties-1)

### acceptCharset[](#acceptcharset)

acceptCharset: string

The **`HTMLFormElement.acceptCharset`** property represents the character encoding for the given element.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/acceptCharset)

### accessKey[](#accesskey)

accessKey: string

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/accessKey)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[accessKey](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#accesskey)

### `Readonly`accessKeyLabel[](#accesskeylabel)

accessKeyLabel: string

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/accessKeyLabel)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[accessKeyLabel](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#accesskeylabel)

### action[](#action)

action: string

The **`HTMLFormElement.action`** property represents the action of the element.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/action)

### ariaActiveDescendantElement[](#ariaactivedescendantelement)

ariaActiveDescendantElement: [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaActiveDescendantElement)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaActiveDescendantElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariaactivedescendantelement)

### ariaAtomic[](#ariaatomic)

ariaAtomic: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAtomic)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaAtomic](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariaatomic)

### ariaAutoComplete[](#ariaautocomplete)

ariaAutoComplete: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAutoComplete)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaAutoComplete](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariaautocomplete)

### ariaBrailleLabel[](#ariabraillelabel)

ariaBrailleLabel: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleLabel)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaBrailleLabel](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariabraillelabel)

### ariaBrailleRoleDescription[](#ariabrailleroledescription)

ariaBrailleRoleDescription: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleRoleDescription)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaBrailleRoleDescription](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariabrailleroledescription)

### ariaBusy[](#ariabusy)

ariaBusy: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBusy)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaBusy](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariabusy)

### ariaChecked[](#ariachecked)

ariaChecked: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaChecked)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaChecked](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariachecked)

### ariaColCount[](#ariacolcount)

ariaColCount: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColCount)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaColCount](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariacolcount)

### ariaColIndex[](#ariacolindex)

ariaColIndex: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndex)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaColIndex](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariacolindex)

### ariaColIndexText[](#ariacolindextext)

ariaColIndexText: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndexText)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaColIndexText](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariacolindextext)

### ariaColSpan[](#ariacolspan)

ariaColSpan: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColSpan)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaColSpan](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariacolspan)

### ariaControlsElements[](#ariacontrolselements)

ariaControlsElements: readonly [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\[\] | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaControlsElements)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaControlsElements](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariacontrolselements)

### ariaCurrent[](#ariacurrent)

ariaCurrent: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaCurrent)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaCurrent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariacurrent)

### ariaDescribedByElements[](#ariadescribedbyelements)

ariaDescribedByElements: readonly [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\[\] | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescribedByElements)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaDescribedByElements](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariadescribedbyelements)

### ariaDescription[](#ariadescription)

ariaDescription: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescription)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaDescription](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariadescription)

### ariaDetailsElements[](#ariadetailselements)

ariaDetailsElements: readonly [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\[\] | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDetailsElements)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaDetailsElements](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariadetailselements)

### ariaDisabled[](#ariadisabled)

ariaDisabled: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDisabled)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaDisabled](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariadisabled)

### ariaErrorMessageElements[](#ariaerrormessageelements)

ariaErrorMessageElements: readonly [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\[\] | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaErrorMessageElements)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaErrorMessageElements](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariaerrormessageelements)

### ariaExpanded[](#ariaexpanded)

ariaExpanded: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaExpanded)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaExpanded](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariaexpanded)

### ariaFlowToElements[](#ariaflowtoelements)

ariaFlowToElements: readonly [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\[\] | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaFlowToElements)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaFlowToElements](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariaflowtoelements)

### ariaHasPopup[](#ariahaspopup)

ariaHasPopup: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHasPopup)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaHasPopup](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariahaspopup)

### ariaHidden[](#ariahidden)

ariaHidden: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHidden)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaHidden](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariahidden)

### ariaInvalid[](#ariainvalid)

ariaInvalid: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaInvalid)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaInvalid](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariainvalid)

### ariaKeyShortcuts[](#ariakeyshortcuts)

ariaKeyShortcuts: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaKeyShortcuts)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaKeyShortcuts](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariakeyshortcuts)

### ariaLabel[](#arialabel)

ariaLabel: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabel)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaLabel](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#arialabel)

### ariaLabelledByElements[](#arialabelledbyelements)

ariaLabelledByElements: readonly [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\[\] | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabelledByElements)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaLabelledByElements](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#arialabelledbyelements)

### ariaLevel[](#arialevel)

ariaLevel: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLevel)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaLevel](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#arialevel)

### ariaLive[](#arialive)

ariaLive: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLive)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaLive](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#arialive)

### ariaModal[](#ariamodal)

ariaModal: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaModal)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaModal](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariamodal)

### ariaMultiLine[](#ariamultiline)

ariaMultiLine: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaMultiLine)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaMultiLine](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariamultiline)

### ariaMultiSelectable[](#ariamultiselectable)

ariaMultiSelectable: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaMultiSelectable)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaMultiSelectable](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariamultiselectable)

### ariaOrientation[](#ariaorientation)

ariaOrientation: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOrientation)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaOrientation](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariaorientation)

### ariaOwnsElements[](#ariaownselements)

ariaOwnsElements: readonly [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\[\] | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOwnsElements)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaOwnsElements](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariaownselements)

### ariaPlaceholder[](#ariaplaceholder)

ariaPlaceholder: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPlaceholder)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaPlaceholder](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariaplaceholder)

### ariaPosInSet[](#ariaposinset)

ariaPosInSet: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPosInSet)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaPosInSet](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariaposinset)

### ariaPressed[](#ariapressed)

ariaPressed: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPressed)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaPressed](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariapressed)

### ariaReadOnly[](#ariareadonly)

ariaReadOnly: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaReadOnly)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaReadOnly](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariareadonly)

### ariaRelevant[](#ariarelevant)

ariaRelevant: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRelevant)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaRelevant](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariarelevant)

### ariaRequired[](#ariarequired)

ariaRequired: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRequired)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaRequired](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariarequired)

### ariaRoleDescription[](#ariaroledescription)

ariaRoleDescription: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRoleDescription)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaRoleDescription](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariaroledescription)

### ariaRowCount[](#ariarowcount)

ariaRowCount: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowCount)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaRowCount](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariarowcount)

### ariaRowIndex[](#ariarowindex)

ariaRowIndex: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndex)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaRowIndex](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariarowindex)

### ariaRowIndexText[](#ariarowindextext)

ariaRowIndexText: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndexText)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaRowIndexText](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariarowindextext)

### ariaRowSpan[](#ariarowspan)

ariaRowSpan: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowSpan)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaRowSpan](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariarowspan)

### ariaSelected[](#ariaselected)

ariaSelected: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSelected)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaSelected](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariaselected)

### ariaSetSize[](#ariasetsize)

ariaSetSize: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSetSize)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaSetSize](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariasetsize)

### ariaSort[](#ariasort)

ariaSort: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSort)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaSort](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariasort)

### ariaValueMax[](#ariavaluemax)

ariaValueMax: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueMax)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaValueMax](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariavaluemax)

### ariaValueMin[](#ariavaluemin)

ariaValueMin: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueMin)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaValueMin](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariavaluemin)

### ariaValueNow[](#ariavaluenow)

ariaValueNow: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueNow)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaValueNow](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariavaluenow)

### ariaValueText[](#ariavaluetext)

ariaValueText: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueText)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ariaValueText](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ariavaluetext)

### `Readonly`assignedSlot[](#assignedslot)

assignedSlot: [HTMLSlotElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLSlotElement/) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/assignedSlot)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[assignedSlot](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#assignedslot)

### `Readonly`ATTRIBUTE\_NODE[](#attribute_node)

ATTRIBUTE\_NODE: 2

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ATTRIBUTE\_NODE](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#attribute_node)

### `Readonly`attributes[](#attributes)

attributes: [NamedNodeMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.NamedNodeMap/)

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/attributes)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[attributes](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#attributes)

### `Readonly`attributeStyleMap[](#attributestylemap)

attributeStyleMap: [StylePropertyMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.StylePropertyMap/)

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/attributeStyleMap)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[attributeStyleMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#attributestylemap)

### autocapitalize[](#autocapitalize)

autocapitalize: string

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autocapitalize)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[autocapitalize](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#autocapitalize)

### autocomplete[](#autocomplete)

autocomplete: [AutoFillBase](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.AutoFillBase/)

The **`autocomplete`** property of the HTMLFormElement interface indicates whether the value of the form's controls can be automatically completed by the browser. It reflects the element's autocomplete attribute.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/autocomplete)

### autocorrect[](#autocorrect)

autocorrect: boolean

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autocorrect)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[autocorrect](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#autocorrect)

### autofocus[](#autofocus)

autofocus: boolean

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autofocus)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[autofocus](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#autofocus)

### `Readonly`baseURI[](#baseuri)

baseURI: string

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/baseURI)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[baseURI](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#baseuri)

### `Readonly`CDATA\_SECTION\_NODE[](#cdata_section_node)

CDATA\_SECTION\_NODE: 4

node is a CDATASection node.

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[CDATA\_SECTION\_NODE](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#cdata_section_node)

### `Readonly`childElementCount[](#childelementcount)

childElementCount: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/childElementCount)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[childElementCount](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#childelementcount)

### `Readonly`childNodes[](#childnodes)

childNodes: [NodeListOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.NodeListOf/)<[ChildNode](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ChildNode/)\>

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/childNodes)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[childNodes](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#childnodes)

### `Readonly`children[](#children)

children: [HTMLCollection](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollection/)

Returns the child elements.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/children)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[children](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#children)

### className[](#classname)

className: string

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/className)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[className](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#classname)

### `Readonly`clientHeight[](#clientheight)

clientHeight: number

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/clientHeight)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[clientHeight](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#clientheight)

### `Readonly`clientLeft[](#clientleft)

clientLeft: number

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/clientLeft)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[clientLeft](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#clientleft)

### `Readonly`clientTop[](#clienttop)

clientTop: number

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/clientTop)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[clientTop](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#clienttop)

### `Readonly`clientWidth[](#clientwidth)

clientWidth: number

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/clientWidth)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[clientWidth](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#clientwidth)

### `Readonly`COMMENT\_NODE[](#comment_node)

COMMENT\_NODE: 8

node is a Comment node.

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[COMMENT\_NODE](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#comment_node)

### contentEditable[](#contenteditable)

contentEditable: string

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/contentEditable)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[contentEditable](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#contenteditable)

### `Readonly`currentCSSZoom[](#currentcsszoom)

currentCSSZoom: number

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/currentCSSZoom)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[currentCSSZoom](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#currentcsszoom)

### `Readonly`customElementRegistry[](#customelementregistry)

customElementRegistry: [CustomElementRegistry](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.CustomElementRegistry/) | null

Inherited from [SVGTextPositioningElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGTextPositioningElement/).[customElementRegistry](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGTextPositioningElement/#customelementregistry)

### `Readonly`dataset[](#dataset)

dataset: [DOMStringMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DOMStringMap/)

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dataset)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[dataset](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#dataset)

### dir[](#dir)

dir: string

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dir)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[dir](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#dir)

### `Readonly`DOCUMENT\_FRAGMENT\_NODE[](#document_fragment_node)

DOCUMENT\_FRAGMENT\_NODE: 11

node is a DocumentFragment node.

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[DOCUMENT\_FRAGMENT\_NODE](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#document_fragment_node)

### `Readonly`DOCUMENT\_NODE[](#document_node)

DOCUMENT\_NODE: 9

node is a document.

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[DOCUMENT\_NODE](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#document_node)

### `Readonly`DOCUMENT\_POSITION\_CONTAINED\_BY[](#document_position_contained_by)

DOCUMENT\_POSITION\_CONTAINED\_BY: 16

Set when other is a descendant of node.

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[DOCUMENT\_POSITION\_CONTAINED\_BY](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#document_position_contained_by)

### `Readonly`DOCUMENT\_POSITION\_CONTAINS[](#document_position_contains)

DOCUMENT\_POSITION\_CONTAINS: 8

Set when other is an ancestor of node.

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[DOCUMENT\_POSITION\_CONTAINS](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#document_position_contains)

### `Readonly`DOCUMENT\_POSITION\_DISCONNECTED[](#document_position_disconnected)

DOCUMENT\_POSITION\_DISCONNECTED: 1

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

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[DOCUMENT\_POSITION\_DISCONNECTED](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#document_position_disconnected)

### `Readonly`DOCUMENT\_POSITION\_FOLLOWING[](#document_position_following)

DOCUMENT\_POSITION\_FOLLOWING: 4

Set when other is following node.

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[DOCUMENT\_POSITION\_FOLLOWING](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#document_position_following)

### `Readonly`DOCUMENT\_POSITION\_IMPLEMENTATION\_SPECIFIC[](#document_position_implementation_specific)

DOCUMENT\_POSITION\_IMPLEMENTATION\_SPECIFIC: 32

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[DOCUMENT\_POSITION\_IMPLEMENTATION\_SPECIFIC](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#document_position_implementation_specific)

### `Readonly`DOCUMENT\_POSITION\_PRECEDING[](#document_position_preceding)

DOCUMENT\_POSITION\_PRECEDING: 2

Set when other is preceding node.

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[DOCUMENT\_POSITION\_PRECEDING](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#document_position_preceding)

### `Readonly`DOCUMENT\_TYPE\_NODE[](#document_type_node)

DOCUMENT\_TYPE\_NODE: 10

node is a doctype.

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[DOCUMENT\_TYPE\_NODE](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#document_type_node)

### draggable[](#draggable)

draggable: boolean

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/draggable)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[draggable](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#draggable)

### `Readonly`ELEMENT\_NODE[](#element_node)

ELEMENT\_NODE: 1

node is an element.

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ELEMENT\_NODE](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#element_node)

### `Readonly`elements[](#elements)

elements: [HTMLFormControlsCollection](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLFormControlsCollection/)

The **`elements`** property of the HTMLFormElement interface returns an HTMLFormControlsCollection listing all the listed form controls associated with the element.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/elements)

### encoding[](#encoding)

encoding: string

The **`HTMLFormElement.encoding`** property is an alternative name for the enctype element on the DOM HTMLFormElement object.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/encoding)

### enctype[](#enctype)

enctype: string

The **`HTMLFormElement.enctype`** property is the MIME type of content that is used to submit the form to the server. Possible values are:

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/enctype)

### enterKeyHint[](#enterkeyhint)

enterKeyHint: string

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/enterKeyHint)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[enterKeyHint](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#enterkeyhint)

### `Readonly`ENTITY\_NODE[](#entity_node)

ENTITY\_NODE: 6

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ENTITY\_NODE](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#entity_node)

### `Readonly`ENTITY\_REFERENCE\_NODE[](#entity_reference_node)

ENTITY\_REFERENCE\_NODE: 5

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ENTITY\_REFERENCE\_NODE](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#entity_reference_node)

### `Readonly`firstChild[](#firstchild)

firstChild: [ChildNode](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ChildNode/) | null

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/firstChild)

Inherited from [SVGTextContentElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGTextContentElement/).[firstChild](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGTextContentElement/#firstchild)

### `Readonly`firstElementChild[](#firstelementchild)

firstElementChild: [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/) | null

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/firstElementChild)

Inherited from [SVGTextPositioningElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGTextPositioningElement/).[firstElementChild](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGTextPositioningElement/#firstelementchild)

### hidden[](#hidden)

hidden: boolean | "until-found"

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/hidden)

Inherited from [HTMLMarqueeElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLMarqueeElement/).[hidden](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLMarqueeElement/#hidden)

### id[](#id)

id: string

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/id)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[id](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#id)

### inert[](#inert)

inert: boolean

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/inert)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[inert](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#inert)

### innerHTML[](#innerhtml)

innerHTML: string

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[innerHTML](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#innerhtml)

### innerText[](#innertext)

innerText: string

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/innerText)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[innerText](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#innertext)

### inputMode[](#inputmode)

inputMode: string

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/inputMode)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[inputMode](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#inputmode)

### `Readonly`isConnected[](#isconnected)

isConnected: boolean

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/isConnected)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[isConnected](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#isconnected)

### `Readonly`isContentEditable[](#iscontenteditable)

isContentEditable: boolean

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/isContentEditable)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[isContentEditable](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#iscontenteditable)

### lang[](#lang)

lang: string

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/lang)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[lang](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#lang)

### `Readonly`lastChild[](#lastchild)

lastChild: [ChildNode](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ChildNode/) | null

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/lastChild)

Inherited from [SVGTextContentElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGTextContentElement/).[lastChild](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGTextContentElement/#lastchild)

### `Readonly`lastElementChild[](#lastelementchild)

lastElementChild: [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/) | null

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/lastElementChild)

Inherited from [SVGTextPositioningElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGTextPositioningElement/).[lastElementChild](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGTextPositioningElement/#lastelementchild)

### `Readonly`length[](#length)

length: number

The **`HTMLFormElement.length`** read-only property returns the number of controls in the element.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/length)

### `Readonly`localName[](#localname)

localName: string

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/localName)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[localName](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#localname)

### method[](#method)

method: string

The **`HTMLFormElement.method`** property represents the HTTP method used to submit the .

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/method)

### name[](#name)

name: string

The **`HTMLFormElement.name`** property represents the name of the current element as a string.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/name)

### `Readonly`namespaceURI[](#namespaceuri)

namespaceURI: string | null

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/namespaceURI)

Inherited from [SVGTextPositioningElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGTextPositioningElement/).[namespaceURI](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGTextPositioningElement/#namespaceuri)

### `Readonly`nextElementSibling[](#nextelementsibling)

nextElementSibling: [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/) | null

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/nextElementSibling)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[nextElementSibling](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#nextelementsibling)

### `Readonly`nextSibling[](#nextsibling)

nextSibling: [ChildNode](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ChildNode/) | null

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/nextSibling)

Inherited from [SVGTextContentElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGTextContentElement/).[nextSibling](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGTextContentElement/#nextsibling)

### `Readonly`nodeName[](#nodename)

nodeName: string

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/Node/nodeName)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[nodeName](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#nodename)

### `Readonly`nodeType[](#nodetype)

nodeType: number

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/nodeType)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[nodeType](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#nodetype)

### nodeValue[](#nodevalue)

nodeValue: string | null

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/Node/nodeValue)

Inherited from [SVGTextContentElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGTextContentElement/).[nodeValue](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGTextContentElement/#nodevalue)

### nonce[](#nonce)

nonce: string

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/nonce)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[nonce](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#nonce)

### `Readonly`NOTATION\_NODE[](#notation_node)

NOTATION\_NODE: 12

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[NOTATION\_NODE](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#notation_node)

### noValidate[](#novalidate)

noValidate: boolean

The **`noValidate`** property of the HTMLFormElement interface is a boolean value indicating if the will bypass constraint validation when submitted. It reflects the element's novalidate attribute; if the attribute present, the value is true.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/noValidate)

### `Readonly`offsetHeight[](#offsetheight)

offsetHeight: number

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetHeight)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[offsetHeight](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#offsetheight)

### `Readonly`offsetLeft[](#offsetleft)

offsetLeft: number

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetLeft)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[offsetLeft](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#offsetleft)

### `Readonly`offsetParent[](#offsetparent)

offsetParent: [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/) | null

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetParent)

Inherited from [HTMLMarqueeElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLMarqueeElement/).[offsetParent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLMarqueeElement/#offsetparent)

### `Readonly`offsetTop[](#offsettop)

offsetTop: number

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetTop)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[offsetTop](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#offsettop)

### `Readonly`offsetWidth[](#offsetwidth)

offsetWidth: number

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetWidth)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[offsetWidth](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#offsetwidth)

### onabort[](#onabort)

onabort: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [UIEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.UIEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/abort_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onabort](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onabort)

### onanimationcancel[](#onanimationcancel)

onanimationcancel:  
    | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [AnimationEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.AnimationEvent/)) \=> any)  
    | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationcancel_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onanimationcancel](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onanimationcancel)

### onanimationend[](#onanimationend)

onanimationend: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [AnimationEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.AnimationEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationend_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onanimationend](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onanimationend)

### onanimationiteration[](#onanimationiteration)

onanimationiteration:  
    | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [AnimationEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.AnimationEvent/)) \=> any)  
    | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationiteration_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onanimationiteration](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onanimationiteration)

### onanimationstart[](#onanimationstart)

onanimationstart:  
    | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [AnimationEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.AnimationEvent/)) \=> any)  
    | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationstart_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onanimationstart](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onanimationstart)

### onauxclick[](#onauxclick)

onauxclick: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [PointerEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PointerEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/auxclick_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onauxclick](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onauxclick)

### onbeforeinput[](#onbeforeinput)

onbeforeinput: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [InputEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.InputEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onbeforeinput](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onbeforeinput)

### onbeforematch[](#onbeforematch)

onbeforematch: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforematch_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onbeforematch](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onbeforematch)

### onbeforetoggle[](#onbeforetoggle)

onbeforetoggle: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [ToggleEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ToggleEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onbeforetoggle](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onbeforetoggle)

### onblur[](#onblur)

onblur: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [FocusEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.FocusEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/blur_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onblur](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onblur)

### oncancel[](#oncancel)

oncancel: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/cancel_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[oncancel](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#oncancel)

### oncanplay[](#oncanplay)

oncanplay: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/canplay_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[oncanplay](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#oncanplay)

### oncanplaythrough[](#oncanplaythrough)

oncanplaythrough: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/canplaythrough_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[oncanplaythrough](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#oncanplaythrough)

### onchange[](#onchange)

onchange: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/change_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onchange](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onchange)

### onclick[](#onclick)

onclick: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [PointerEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PointerEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/click_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onclick](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onclick)

### onclose[](#onclose)

onclose: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onclose](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onclose)

### oncommand[](#oncommand)

oncommand: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/command_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[oncommand](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#oncommand)

### oncontextlost[](#oncontextlost)

oncontextlost: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[oncontextlost](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#oncontextlost)

### oncontextmenu[](#oncontextmenu)

oncontextmenu: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [PointerEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PointerEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[oncontextmenu](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#oncontextmenu)

### oncontextrestored[](#oncontextrestored)

oncontextrestored: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[oncontextrestored](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#oncontextrestored)

### oncopy[](#oncopy)

oncopy: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [ClipboardEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ClipboardEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[oncopy](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#oncopy)

### oncuechange[](#oncuechange)

oncuechange: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/cuechange_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[oncuechange](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#oncuechange)

### oncut[](#oncut)

oncut: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [ClipboardEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ClipboardEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/cut_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[oncut](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#oncut)

### ondblclick[](#ondblclick)

ondblclick: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [MouseEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MouseEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/dblclick_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ondblclick](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ondblclick)

### ondrag[](#ondrag)

ondrag: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [DragEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DragEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/drag_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ondrag](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ondrag)

### ondragend[](#ondragend)

ondragend: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [DragEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DragEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragend_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ondragend](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ondragend)

### ondragenter[](#ondragenter)

ondragenter: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [DragEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DragEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragenter_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ondragenter](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ondragenter)

### ondragleave[](#ondragleave)

ondragleave: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [DragEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DragEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragleave_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ondragleave](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ondragleave)

### ondragover[](#ondragover)

ondragover: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [DragEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DragEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragover_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ondragover](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ondragover)

### ondragstart[](#ondragstart)

ondragstart: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [DragEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DragEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragstart_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ondragstart](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ondragstart)

### ondrop[](#ondrop)

ondrop: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [DragEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DragEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/drop_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ondrop](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ondrop)

### ondurationchange[](#ondurationchange)

ondurationchange: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/durationchange_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ondurationchange](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ondurationchange)

### onemptied[](#onemptied)

onemptied: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/emptied_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onemptied](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onemptied)

### onended[](#onended)

onended: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/ended_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onended](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onended)

### onerror[](#onerror)

onerror: [OnErrorEventHandler](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.OnErrorEventHandler/)

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/error_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onerror](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onerror)

### onfocus[](#onfocus)

onfocus: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [FocusEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.FocusEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/focus_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onfocus](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onfocus)

### onformdata[](#onformdata)

onformdata: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [FormDataEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.FormDataEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/formdata_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onformdata](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onformdata)

### onfullscreenchange[](#onfullscreenchange)

onfullscreenchange: ((this: [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/fullscreenchange_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onfullscreenchange](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onfullscreenchange)

### onfullscreenerror[](#onfullscreenerror)

onfullscreenerror: ((this: [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/fullscreenerror_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onfullscreenerror](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onfullscreenerror)

### ongotpointercapture[](#ongotpointercapture)

ongotpointercapture:  
    | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [PointerEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PointerEvent/)) \=> any)  
    | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/gotpointercapture_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ongotpointercapture](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ongotpointercapture)

### oninput[](#oninput)

oninput: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [InputEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.InputEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/input_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[oninput](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#oninput)

### oninvalid[](#oninvalid)

oninvalid: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/invalid_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[oninvalid](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#oninvalid)

### onkeydown[](#onkeydown)

onkeydown: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [KeyboardEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.KeyboardEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/keydown_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onkeydown](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onkeydown)

### onkeypress[](#onkeypress)

onkeypress: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [KeyboardEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.KeyboardEvent/)) \=> any) | null

#### Deprecated[](#deprecated)

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/keypress_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onkeypress](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onkeypress)

### onkeyup[](#onkeyup)

onkeyup: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [KeyboardEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.KeyboardEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/keyup_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onkeyup](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onkeyup)

### onload[](#onload)

onload: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/load_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onload](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onload)

### onloadeddata[](#onloadeddata)

onloadeddata: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadeddata_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onloadeddata](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onloadeddata)

### onloadedmetadata[](#onloadedmetadata)

onloadedmetadata: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadedmetadata_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onloadedmetadata](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onloadedmetadata)

### onloadstart[](#onloadstart)

onloadstart: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadstart_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onloadstart](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onloadstart)

### onlostpointercapture[](#onlostpointercapture)

onlostpointercapture:  
    | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [PointerEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PointerEvent/)) \=> any)  
    | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/lostpointercapture_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onlostpointercapture](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onlostpointercapture)

### onmousedown[](#onmousedown)

onmousedown: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [MouseEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MouseEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mousedown_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onmousedown](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onmousedown)

### onmouseenter[](#onmouseenter)

onmouseenter: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [MouseEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MouseEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseenter_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onmouseenter](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onmouseenter)

### onmouseleave[](#onmouseleave)

onmouseleave: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [MouseEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MouseEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseleave_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onmouseleave](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onmouseleave)

### onmousemove[](#onmousemove)

onmousemove: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [MouseEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MouseEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mousemove_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onmousemove](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onmousemove)

### onmouseout[](#onmouseout)

onmouseout: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [MouseEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MouseEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseout_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onmouseout](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onmouseout)

### onmouseover[](#onmouseover)

onmouseover: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [MouseEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MouseEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseover_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onmouseover](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onmouseover)

### onmouseup[](#onmouseup)

onmouseup: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [MouseEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MouseEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseup_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onmouseup](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onmouseup)

### onpaste[](#onpaste)

onpaste: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [ClipboardEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ClipboardEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/paste_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onpaste](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onpaste)

### onpause[](#onpause)

onpause: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/pause_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onpause](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onpause)

### onplay[](#onplay)

onplay: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/play_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onplay](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onplay)

### onplaying[](#onplaying)

onplaying: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/playing_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onplaying](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onplaying)

### onpointercancel[](#onpointercancel)

onpointercancel: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [PointerEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PointerEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointercancel_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onpointercancel](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onpointercancel)

### onpointerdown[](#onpointerdown)

onpointerdown: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [PointerEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PointerEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerdown_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onpointerdown](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onpointerdown)

### onpointerenter[](#onpointerenter)

onpointerenter: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [PointerEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PointerEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerenter_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onpointerenter](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onpointerenter)

### onpointerleave[](#onpointerleave)

onpointerleave: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [PointerEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PointerEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerleave_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onpointerleave](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onpointerleave)

### onpointermove[](#onpointermove)

onpointermove: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [PointerEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PointerEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointermove_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onpointermove](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onpointermove)

### onpointerout[](#onpointerout)

onpointerout: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [PointerEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PointerEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerout_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onpointerout](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onpointerout)

### onpointerover[](#onpointerover)

onpointerover: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [PointerEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PointerEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerover_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onpointerover](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onpointerover)

### onpointerrawupdate[](#onpointerrawupdate)

onpointerrawupdate: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

Available only in secure contexts.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerrawupdate_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onpointerrawupdate](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onpointerrawupdate)

### onpointerup[](#onpointerup)

onpointerup: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [PointerEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PointerEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerup_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onpointerup](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onpointerup)

### onprogress[](#onprogress)

onprogress: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [ProgressEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ProgressEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/progress_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onprogress](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onprogress)

### onratechange[](#onratechange)

onratechange: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/ratechange_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onratechange](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onratechange)

### onreset[](#onreset)

onreset: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/reset_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onreset](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onreset)

### onresize[](#onresize)

onresize: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [UIEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.UIEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/resize_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onresize](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onresize)

### onscroll[](#onscroll)

onscroll: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/scroll_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onscroll](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onscroll)

### onscrollend[](#onscrollend)

onscrollend: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/scrollend_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onscrollend](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onscrollend)

### onsecuritypolicyviolation[](#onsecuritypolicyviolation)

onsecuritypolicyviolation:  
    | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [SecurityPolicyViolationEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SecurityPolicyViolationEvent/)) \=> any)  
    | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/securitypolicyviolation_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onsecuritypolicyviolation](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onsecuritypolicyviolation)

### onseeked[](#onseeked)

onseeked: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeked_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onseeked](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onseeked)

### onseeking[](#onseeking)

onseeking: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeking_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onseeking](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onseeking)

### onselect[](#onselect)

onselect: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/select_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onselect](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onselect)

### onselectionchange[](#onselectionchange)

onselectionchange: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/selectionchange_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onselectionchange](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onselectionchange)

### onselectstart[](#onselectstart)

onselectstart: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/selectstart_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onselectstart](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onselectstart)

### onslotchange[](#onslotchange)

onslotchange: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSlotElement/slotchange_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onslotchange](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onslotchange)

### onstalled[](#onstalled)

onstalled: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/stalled_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onstalled](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onstalled)

### onsubmit[](#onsubmit)

onsubmit: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [SubmitEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SubmitEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/submit_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onsubmit](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onsubmit)

### onsuspend[](#onsuspend)

onsuspend: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/suspend_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onsuspend](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onsuspend)

### ontimeupdate[](#ontimeupdate)

ontimeupdate: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/timeupdate_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ontimeupdate](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ontimeupdate)

### ontoggle[](#ontoggle)

ontoggle: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [ToggleEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ToggleEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/toggle_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ontoggle](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ontoggle)

### `Optional`ontouchcancel[](#ontouchcancel)

ontouchcancel?: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [TouchEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.TouchEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchcancel_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ontouchcancel](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ontouchcancel)

### `Optional`ontouchend[](#ontouchend)

ontouchend?: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [TouchEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.TouchEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchend_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ontouchend](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ontouchend)

### `Optional`ontouchmove[](#ontouchmove)

ontouchmove?: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [TouchEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.TouchEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchmove_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ontouchmove](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ontouchmove)

### `Optional`ontouchstart[](#ontouchstart)

ontouchstart?: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [TouchEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.TouchEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchstart_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ontouchstart](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ontouchstart)

### ontransitioncancel[](#ontransitioncancel)

ontransitioncancel:  
    | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [TransitionEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.TransitionEvent/)) \=> any)  
    | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitioncancel_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ontransitioncancel](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ontransitioncancel)

### ontransitionend[](#ontransitionend)

ontransitionend:  
    | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [TransitionEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.TransitionEvent/)) \=> any)  
    | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitionend_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ontransitionend](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ontransitionend)

### ontransitionrun[](#ontransitionrun)

ontransitionrun:  
    | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [TransitionEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.TransitionEvent/)) \=> any)  
    | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitionrun_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ontransitionrun](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ontransitionrun)

### ontransitionstart[](#ontransitionstart)

ontransitionstart:  
    | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [TransitionEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.TransitionEvent/)) \=> any)  
    | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitionstart_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ontransitionstart](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ontransitionstart)

### onvolumechange[](#onvolumechange)

onvolumechange: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/volumechange_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onvolumechange](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onvolumechange)

### onwaiting[](#onwaiting)

onwaiting: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/waiting_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onwaiting](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onwaiting)

### onwebkitanimationend[](#onwebkitanimationend)

onwebkitanimationend: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

#### Deprecated[](#deprecated-1)

This is a legacy alias of `onanimationend`.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationend_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onwebkitanimationend](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onwebkitanimationend)

### onwebkitanimationiteration[](#onwebkitanimationiteration)

onwebkitanimationiteration:  
    | ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any)  
    | null

#### Deprecated[](#deprecated-2)

This is a legacy alias of `onanimationiteration`.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationiteration_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onwebkitanimationiteration](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onwebkitanimationiteration)

### onwebkitanimationstart[](#onwebkitanimationstart)

onwebkitanimationstart: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

#### Deprecated[](#deprecated-3)

This is a legacy alias of `onanimationstart`.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationstart_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onwebkitanimationstart](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onwebkitanimationstart)

### onwebkittransitionend[](#onwebkittransitionend)

onwebkittransitionend: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: Event) \=> any) | null

#### Deprecated[](#deprecated-4)

This is a legacy alias of `ontransitionend`.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitionend_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onwebkittransitionend](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onwebkittransitionend)

### onwheel[](#onwheel)

onwheel: ((this: [GlobalEventHandlers](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GlobalEventHandlers/), ev: [WheelEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.WheelEvent/)) \=> any) | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/wheel_event)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[onwheel](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#onwheel)

### outerHTML[](#outerhtml)

outerHTML: string

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/outerHTML)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[outerHTML](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#outerhtml)

### outerText[](#outertext)

outerText: string

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/outerText)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[outerText](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#outertext)

### `Readonly`ownerDocument[](#ownerdocument)

ownerDocument: [Document](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Document/)

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/ownerDocument)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[ownerDocument](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#ownerdocument)

### `Readonly`parentElement[](#parentelement)

parentElement: [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/) | null

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/parentElement)

Inherited from [SVGTextContentElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGTextContentElement/).[parentElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGTextContentElement/#parentelement)

### `Readonly`parentNode[](#parentnode)

parentNode: [ParentNode](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ParentNode/) | null

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/parentNode)

Inherited from [SVGTextPositioningElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGTextPositioningElement/).[parentNode](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGTextPositioningElement/#parentnode)

### popover[](#popover)

popover: string | null

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/popover)

Inherited from [HTMLMarqueeElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLMarqueeElement/).[popover](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLMarqueeElement/#popover)

### `Readonly`prefix[](#prefix)

prefix: string | null

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/prefix)

Inherited from [SVGTextPositioningElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGTextPositioningElement/).[prefix](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGTextPositioningElement/#prefix)

### `Readonly`previousElementSibling[](#previouselementsibling)

previousElementSibling: [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/) | null

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/previousElementSibling)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[previousElementSibling](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#previouselementsibling)

### `Readonly`previousSibling[](#previoussibling)

previousSibling: [ChildNode](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ChildNode/) | null

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/previousSibling)

Inherited from [SVGTextContentElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGTextContentElement/).[previousSibling](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGTextContentElement/#previoussibling)

### `Readonly`PROCESSING\_INSTRUCTION\_NODE[](#processing_instruction_node)

PROCESSING\_INSTRUCTION\_NODE: 7

node is a ProcessingInstruction node.

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[PROCESSING\_INSTRUCTION\_NODE](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#processing_instruction_node)

### rel[](#rel)

rel: string

The **`rel`** property of the HTMLFormElement interface reflects the rel attribute. It is a string containing what kinds of links the HTML element creates, as a space-separated list of enumerated values.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/rel)

### role[](#role)

role: string | null

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/role)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[role](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#role)

### `Readonly`scrollHeight[](#scrollheight)

scrollHeight: number

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollHeight)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[scrollHeight](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#scrollheight)

### scrollLeft[](#scrollleft)

scrollLeft: number

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollLeft)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[scrollLeft](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#scrollleft)

### scrollTop[](#scrolltop)

scrollTop: number

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollTop)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[scrollTop](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#scrolltop)

### `Readonly`scrollWidth[](#scrollwidth)

scrollWidth: number

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollWidth)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[scrollWidth](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#scrollwidth)

### `Readonly`shadowRoot[](#shadowroot)

shadowRoot: [ShadowRoot](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ShadowRoot/) | null

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/shadowRoot)

Inherited from [SVGTextPositioningElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGTextPositioningElement/).[shadowRoot](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGTextPositioningElement/#shadowroot)

### slot[](#slot)

slot: string

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/slot)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[slot](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#slot)

### spellcheck[](#spellcheck)

spellcheck: boolean

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/spellcheck)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[spellcheck](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#spellcheck)

### tabIndex[](#tabindex)

tabIndex: number

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/tabIndex)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[tabIndex](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#tabindex)

### `Readonly`tagName[](#tagname)

tagName: string

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/tagName)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[tagName](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#tagname)

### target[](#target)

target: string

The **`target`** property of the HTMLFormElement interface represents the target of the form's action (i.e., the frame in which to render its output).

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/target)

### `Readonly`TEXT\_NODE[](#text_node)

TEXT\_NODE: 3

node is a Text node.

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[TEXT\_NODE](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#text_node)

### title[](#title)

title: string

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/title)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[title](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#title)

### translate[](#translate)

translate: boolean

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/translate)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[translate](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#translate)

### writingSuggestions[](#writingsuggestions)

writingSuggestions: string

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

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/writingSuggestions)

Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[writingSuggestions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#writingsuggestions)

## Accessors[](#accessors-1)

### classList[](#classlist)

-   get classList(): [DOMTokenList](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DOMTokenList/)
    
    The read-only **`classList`** property of the Element interface contains a live DOMTokenList collection representing the class attribute of the element. This can then be used to manipulate the class list.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/classList)
    
    #### Returns [DOMTokenList](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DOMTokenList/)
    
    Inherited from HTMLElement.classList
    
-   set classList(value: string): void
    
    #### Parameters
    
    -   value: string
    
    #### Returns void
    
    Inherited from HTMLElement.classList
    

### part[](#part)

-   get part(): [DOMTokenList](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DOMTokenList/)
    
    The read-only **`part`** property of the Element interface contains a DOMTokenList object representing the part identifier(s) of the element. It reflects the element's part content attribute. These can be used to style parts of a shadow DOM, via the ::part pseudo-element.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/part)
    
    #### Returns [DOMTokenList](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DOMTokenList/)
    
    Inherited from HTMLElement.part
    
-   set part(value: string): void
    
    #### Parameters
    
    -   value: string
    
    #### Returns void
    
    Inherited from HTMLElement.part
    

### relList[](#rellist)

-   get relList(): [DOMTokenList](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DOMTokenList/)
    
    The read-only **`relList`** property of the HTMLFormElement returns a live DOMTokenList object containing the set of link types indicating the relationship between the resource represented by the element and the current document. It reflects the element's rel content attribute.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/relList)
    
    #### Returns [DOMTokenList](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DOMTokenList/)
    
-   set relList(value: string): void
    
    #### Parameters
    
    -   value: string
    
    #### Returns void
    

### style[](#style)

-   get style(): [CSSStyleDeclaration](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.CSSStyleDeclaration/)
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/style)
    
    #### Returns [CSSStyleDeclaration](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.CSSStyleDeclaration/)
    
    Inherited from HTMLElement.style
    
-   set style(cssText: string): void
    
    #### Parameters
    
    -   cssText: string
    
    #### Returns void
    
    Inherited from HTMLElement.style
    

### textContent[](#textcontent)

-   get textContent(): string
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent)
    
    #### Returns string
    
    Inherited from HTMLElement.textContent
    
-   set textContent(value: string | null): void
    
    The **`textContent`** property of the Node interface represents the text content of the node and its descendants.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent)
    
    #### Parameters
    
    -   value: string | null
    
    #### Returns void
    
    Inherited from HTMLElement.textContent
    

## Methods[](#methods-1)

### \[iterator\][](#iterator)

-   "\[iterator\]"(): [ArrayIterator](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ArrayIterator/)<[Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\>[](#iterator-1)
    
    #### Returns [ArrayIterator](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ArrayIterator/)<[Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\>
    

### addEventListener[](#addeventlistener)

-   addEventListener<[K](#addeventlistenerk) extends keyof [HTMLElementEventMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementEventMap/)\>(  
        type: [K](#addeventlistenerk),  
        listener: (this: HTMLFormElement, ev: [HTMLElementEventMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementEventMap/)\[[K](#addeventlistenerk)\]) \=> any,  
        options?: boolean | AddEventListenerOptions,  
    ): void[](#addeventlistener-1)
    
    The **`addEventListener()`** method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
    
    #### Type Parameters
    
    -   K extends keyof [HTMLElementEventMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementEventMap/)
    
    #### Parameters
    
    -   type: [K](#addeventlistenerk)
    -   listener: (this: HTMLFormElement, ev: [HTMLElementEventMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementEventMap/)\[[K](#addeventlistenerk)\]) \=> any
    -   `Optional`options: boolean | AddEventListenerOptions
    
    #### Returns void
    
    Overrides [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[addEventListener](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#addeventlistener)
    
-   addEventListener(  
        type: string,  
        listener: [EventListenerOrEventListenerObject](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.EventListenerOrEventListenerObject/),  
        options?: boolean | AddEventListenerOptions,  
    ): void[](#addeventlistener-2)
    
    The **`addEventListener()`** method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
    
    #### Parameters
    
    -   type: string
    -   listener: [EventListenerOrEventListenerObject](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.EventListenerOrEventListenerObject/)
    -   `Optional`options: boolean | AddEventListenerOptions
    
    #### Returns void
    
    Overrides [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[addEventListener](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#addeventlistener)
    

### after[](#after)

-   after(...nodes: (string | [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/))\[\]): void[](#after-1)
    
    Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes.
    
    Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/after)
    
    #### Parameters
    
    -   ...nodes: (string | [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/))\[\]
    
    #### Returns void
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[after](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#after)
    

### animate[](#animate)

-   animate(  
        keyframes: [Keyframe](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Keyframe/)\[\] | [PropertyIndexedKeyframes](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PropertyIndexedKeyframes/) | null,  
        options?: number | [KeyframeAnimationOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.KeyframeAnimationOptions/),  
    ): [Animation](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Animation/)[](#animate-1)
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animate)
    
    #### Parameters
    
    -   keyframes: [Keyframe](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Keyframe/)\[\] | [PropertyIndexedKeyframes](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PropertyIndexedKeyframes/) | null
    -   `Optional`options: number | [KeyframeAnimationOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.KeyframeAnimationOptions/)
    
    #### Returns [Animation](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Animation/)
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[animate](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#animate)
    

### append[](#append)

-   append(...nodes: (string | [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/))\[\]): void[](#append-1)
    
    Inserts nodes after the last child of node, while replacing strings in nodes with equivalent Text nodes.
    
    Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/append)
    
    #### Parameters
    
    -   ...nodes: (string | [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/))\[\]
    
    #### Returns void
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[append](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#append)
    

### appendChild[](#appendchild)

-   appendChild<[T](#appendchildt) extends [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/)\>(node: [T](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#appendchildt)): [T](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#appendchildt)[](#appendchild-1)
    
    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://developer.mozilla.org/docs/Web/API/Node/appendChild)
    
    #### Type Parameters
    
    -   T extends [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/)
    
    #### Parameters
    
    -   node: [T](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#appendchildt)
    
    #### Returns [T](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#appendchildt)
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[appendChild](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#appendchild)
    

### attachInternals[](#attachinternals)

-   attachInternals(): [ElementInternals](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ElementInternals/)[](#attachinternals-1)
    
    The **`HTMLElement.attachInternals()`** method returns an ElementInternals object. This method allows a custom element to participate in HTML forms. The ElementInternals interface provides utilities for working with these elements in the same way you would work with any standard HTML form element, and also exposes the Accessibility Object Model to the element.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/attachInternals)
    
    #### Returns [ElementInternals](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ElementInternals/)
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[attachInternals](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#attachinternals)
    

### attachShadow[](#attachshadow)

-   attachShadow(init: [ShadowRootInit](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ShadowRootInit/)): [ShadowRoot](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ShadowRoot/)[](#attachshadow-1)
    
    The **`Element.attachShadow()`** method attaches a shadow DOM tree to the specified element and returns a reference to its ShadowRoot.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/attachShadow)
    
    #### Parameters
    
    -   init: [ShadowRootInit](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ShadowRootInit/)
    
    #### Returns [ShadowRoot](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ShadowRoot/)
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[attachShadow](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#attachshadow)
    

### before[](#before)

-   before(...nodes: (string | [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/))\[\]): void[](#before-1)
    
    Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes.
    
    Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/before)
    
    #### Parameters
    
    -   ...nodes: (string | [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/))\[\]
    
    #### Returns void
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[before](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#before)
    

### blur[](#blur)

-   blur(): void[](#blur-1)
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/blur)
    
    #### Returns void
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[blur](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#blur)
    

### checkValidity[](#checkvalidity)

-   checkValidity(): boolean[](#checkvalidity-1)
    
    The **`checkValidity()`** method of the HTMLFormElement interface returns a boolean value which indicates if all associated controls meet any constraint validation rules applied to them. The method also fires an invalid event on each invalid element, but not on the form element itself. Because there's no default browser behavior for checkValidity(), canceling this invalid event has no effect.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/checkValidity)
    
    #### Returns boolean
    

### checkVisibility[](#checkvisibility)

-   checkVisibility(options?: [CheckVisibilityOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.CheckVisibilityOptions/)): boolean[](#checkvisibility-1)
    
    The **`checkVisibility()`** method of the Element interface checks whether the element is visible.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/checkVisibility)
    
    #### Parameters
    
    -   `Optional`options: [CheckVisibilityOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.CheckVisibilityOptions/)
    
    #### Returns boolean
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[checkVisibility](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#checkvisibility)
    

### click[](#click)

-   click(): void[](#click-1)
    
    The **`HTMLElement.click()`** method simulates a mouse click on an element. When called on an element, the element's click event is fired (unless its disabled attribute is set).
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/click)
    
    #### Returns void
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[click](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#click)
    

### cloneNode[](#clonenode)

-   cloneNode(subtree?: boolean): [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/)[](#clonenode-1)
    
    The **`cloneNode()`** method of the Node interface returns a duplicate of the node on which this method was called. Its parameter controls if the subtree contained in the node is also cloned or not.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/cloneNode)
    
    #### Parameters
    
    -   `Optional`subtree: boolean
    
    #### Returns [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/)
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[cloneNode](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#clonenode)
    

### closest[](#closest)

-   closest<[K](#closestk) extends keyof [HTMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementTagNameMap/)\>(  
        selector: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#closestk),  
    ): [HTMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#closestk)\] | null[](#closest-1)
    
    The **`closest()`** method of the Element interface traverses the element and its parents (heading toward the document root) until it finds a node that matches the specified CSS selector.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/closest)
    
    #### Type Parameters
    
    -   K extends keyof [HTMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementTagNameMap/)
    
    #### Parameters
    
    -   selector: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#closestk)
    
    #### Returns [HTMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#closestk)\] | null
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[closest](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#closest)
    
-   closest<[K](#closestk-1) extends keyof [SVGElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElementTagNameMap/)\>(  
        selector: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#closestk-1),  
    ): [SVGElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#closestk-1)\] | null[](#closest-2)
    
    #### Type Parameters
    
    -   K extends keyof [SVGElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElementTagNameMap/)
    
    #### Parameters
    
    -   selector: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#closestk-1)
    
    #### Returns [SVGElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#closestk-1)\] | null
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[closest](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#closest)
    
-   closest<[K](#closestk-2) extends keyof [MathMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElementTagNameMap/)\>(  
        selector: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#closestk-2),  
    ): [MathMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#closestk-2)\] | null[](#closest-3)
    
    #### Type Parameters
    
    -   K extends keyof [MathMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElementTagNameMap/)
    
    #### Parameters
    
    -   selector: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#closestk-2)
    
    #### Returns [MathMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#closestk-2)\] | null
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[closest](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#closest)
    
-   closest<[E](#closeste) extends [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/) \= [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\>(selectors: string): [E](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#closeste) | null[](#closest-4)
    
    #### Type Parameters
    
    -   E extends [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/) = [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)
    
    #### Parameters
    
    -   selectors: string
    
    #### Returns [E](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#closeste) | null
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[closest](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#closest)
    

### compareDocumentPosition[](#comparedocumentposition)

-   compareDocumentPosition(other: [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/)): number[](#comparedocumentposition-1)
    
    The **`compareDocumentPosition()`** method of the Node interface reports the position of its argument node relative to the node on which it is called.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/compareDocumentPosition)
    
    #### Parameters
    
    -   other: [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/)
    
    #### Returns number
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[compareDocumentPosition](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#comparedocumentposition)
    

### computedStyleMap[](#computedstylemap)

-   computedStyleMap(): [StylePropertyMapReadOnly](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.StylePropertyMapReadOnly/)[](#computedstylemap-1)
    
    The **`computedStyleMap()`** method of the Element interface returns a StylePropertyMapReadOnly interface which provides a read-only representation of a CSS declaration block that is an alternative to CSSStyleDeclaration.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/computedStyleMap)
    
    #### Returns [StylePropertyMapReadOnly](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.StylePropertyMapReadOnly/)
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[computedStyleMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#computedstylemap)
    

### contains[](#contains)

-   contains(other: [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/) | null): boolean[](#contains-1)
    
    The **`contains()`** method of the Node interface returns a boolean value indicating whether a node is a descendant of a given node, that is the node itself, one of its direct children (childNodes), one of the children's direct children, and so on.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/contains)
    
    #### Parameters
    
    -   other: [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/) | null
    
    #### Returns boolean
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[contains](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#contains)
    

### dispatchEvent[](#dispatchevent)

-   dispatchEvent(event: Event): boolean[](#dispatchevent-1)
    
    The **`dispatchEvent()`** method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order. The normal event processing rules (including the capturing and optional bubbling phase) also apply to events dispatched manually with dispatchEvent().
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)
    
    #### Parameters
    
    -   event: Event
    
    #### Returns boolean
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[dispatchEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#dispatchevent)
    

### focus[](#focus)

-   focus(options?: [FocusOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.FocusOptions/)): void[](#focus-1)
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/focus)
    
    #### Parameters
    
    -   `Optional`options: [FocusOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.FocusOptions/)
    
    #### Returns void
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[focus](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#focus)
    

### getAnimations[](#getanimations)

-   getAnimations(options?: [GetAnimationsOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GetAnimationsOptions/)): [Animation](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Animation/)\[\][](#getanimations-1)
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getAnimations)
    
    #### Parameters
    
    -   `Optional`options: [GetAnimationsOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GetAnimationsOptions/)
    
    #### Returns [Animation](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Animation/)\[\]
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[getAnimations](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#getanimations)
    

### getAttribute[](#getattribute)

-   getAttribute(qualifiedName: string): string | null[](#getattribute-1)
    
    The **`getAttribute()`** method of the Element interface returns the value of a specified attribute on the element.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getAttribute)
    
    #### Parameters
    
    -   qualifiedName: string
    
    #### Returns string | null
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[getAttribute](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#getattribute)
    

### getAttributeNames[](#getattributenames)

-   getAttributeNames(): string\[\][](#getattributenames-1)
    
    The **`getAttributeNames()`** method of the Element interface returns the attribute names of the element as an Array of strings. If the element has no attributes it returns an empty array.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getAttributeNames)
    
    #### Returns string\[\]
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[getAttributeNames](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#getattributenames)
    

### getAttributeNode[](#getattributenode)

-   getAttributeNode(qualifiedName: string): [Attr](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Attr/) | null[](#getattributenode-1)
    
    Returns the specified attribute of the specified element, as an Attr node.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getAttributeNode)
    
    #### Parameters
    
    -   qualifiedName: string
    
    #### Returns [Attr](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Attr/) | null
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[getAttributeNode](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#getattributenode)
    

### getAttributeNodeNS[](#getattributenodens)

-   getAttributeNodeNS(namespace: string | null, localName: string): [Attr](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Attr/) | null[](#getattributenodens-1)
    
    The **`getAttributeNodeNS()`** method of the Element interface returns the namespaced Attr node of an element.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getAttributeNodeNS)
    
    #### Parameters
    
    -   namespace: string | null
    -   localName: string
    
    #### Returns [Attr](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Attr/) | null
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[getAttributeNodeNS](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#getattributenodens)
    

### getAttributeNS[](#getattributens)

-   getAttributeNS(namespace: string | null, localName: string): string | null[](#getattributens-1)
    
    The **`getAttributeNS()`** method of the Element interface returns the string value of the attribute with the specified namespace and name. If the named attribute does not exist, the value returned will either be null or "" (the empty string); see Notes for details.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getAttributeNS)
    
    #### Parameters
    
    -   namespace: string | null
    -   localName: string
    
    #### Returns string | null
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[getAttributeNS](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#getattributens)
    

### getBoundingClientRect[](#getboundingclientrect)

-   getBoundingClientRect(): [DOMRect](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DOMRect/)[](#getboundingclientrect-1)
    
    The **`Element.getBoundingClientRect()`** method returns a DOMRect object providing information about the size of an element and its position relative to the viewport.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getBoundingClientRect)
    
    #### Returns [DOMRect](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DOMRect/)
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[getBoundingClientRect](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#getboundingclientrect)
    

### getClientRects[](#getclientrects)

-   getClientRects(): [DOMRectList](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DOMRectList/)[](#getclientrects-1)
    
    The **`getClientRects()`** method of the Element interface returns a collection of DOMRect objects that indicate the bounding rectangles for each CSS border box in a client.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getClientRects)
    
    #### Returns [DOMRectList](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.DOMRectList/)
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[getClientRects](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#getclientrects)
    

### getElementsByClassName[](#getelementsbyclassname)

-   getElementsByClassName(classNames: string): [HTMLCollectionOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollectionOf/)<[Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\>[](#getelementsbyclassname-1)
    
    The Element method **`getElementsByClassName()`** returns a live HTMLCollection which contains every descendant element which has the specified class name or names.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getElementsByClassName)
    
    #### Parameters
    
    -   classNames: string
    
    #### Returns [HTMLCollectionOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollectionOf/)<[Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\>
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[getElementsByClassName](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#getelementsbyclassname)
    

### getElementsByTagName[](#getelementsbytagname)

-   getElementsByTagName<[K](#getelementsbytagnamek) extends keyof [HTMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementTagNameMap/)\>(  
        qualifiedName: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#getelementsbytagnamek),  
    ): [HTMLCollectionOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollectionOf/)<[HTMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#getelementsbytagnamek)\]\>[](#getelementsbytagname-1)
    
    The **`Element.getElementsByTagName()`** method returns a live HTMLCollection of elements with the given tag name.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getElementsByTagName)
    
    #### Type Parameters
    
    -   K extends keyof [HTMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementTagNameMap/)
    
    #### Parameters
    
    -   qualifiedName: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#getelementsbytagnamek)
    
    #### Returns [HTMLCollectionOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollectionOf/)<[HTMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#getelementsbytagnamek)\]\>
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[getElementsByTagName](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#getelementsbytagname)
    
-   getElementsByTagName<[K](#getelementsbytagnamek-1) extends keyof [SVGElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElementTagNameMap/)\>(  
        qualifiedName: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#getelementsbytagnamek-1),  
    ): [HTMLCollectionOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollectionOf/)<[SVGElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#getelementsbytagnamek-1)\]\>[](#getelementsbytagname-2)
    
    #### Type Parameters
    
    -   K extends keyof [SVGElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElementTagNameMap/)
    
    #### Parameters
    
    -   qualifiedName: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#getelementsbytagnamek-1)
    
    #### Returns [HTMLCollectionOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollectionOf/)<[SVGElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#getelementsbytagnamek-1)\]\>
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[getElementsByTagName](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#getelementsbytagname)
    
-   getElementsByTagName<[K](#getelementsbytagnamek-2) extends keyof [MathMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElementTagNameMap/)\>(  
        qualifiedName: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#getelementsbytagnamek-2),  
    ): [HTMLCollectionOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollectionOf/)<[MathMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#getelementsbytagnamek-2)\]\>[](#getelementsbytagname-3)
    
    #### Type Parameters
    
    -   K extends keyof [MathMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElementTagNameMap/)
    
    #### Parameters
    
    -   qualifiedName: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#getelementsbytagnamek-2)
    
    #### Returns [HTMLCollectionOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollectionOf/)<[MathMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#getelementsbytagnamek-2)\]\>
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[getElementsByTagName](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#getelementsbytagname)
    
-   getElementsByTagName<[K](#getelementsbytagnamek-3) extends keyof [HTMLElementDeprecatedTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementDeprecatedTagNameMap/)\>(  
        qualifiedName: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#getelementsbytagnamek-3),  
    ): [HTMLCollectionOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollectionOf/)<[HTMLElementDeprecatedTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementDeprecatedTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#getelementsbytagnamek-3)\]\>[](#getelementsbytagname-4)
    
    #### Type Parameters
    
    -   K extends keyof [HTMLElementDeprecatedTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementDeprecatedTagNameMap/)
    
    #### Parameters
    
    -   qualifiedName: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#getelementsbytagnamek-3)
    
    #### Returns [HTMLCollectionOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollectionOf/)<[HTMLElementDeprecatedTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementDeprecatedTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#getelementsbytagnamek-3)\]\>
    
    #### Deprecated[](#deprecated-5)
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[getElementsByTagName](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#getelementsbytagname)
    
-   getElementsByTagName(qualifiedName: string): [HTMLCollectionOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollectionOf/)<[Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\>[](#getelementsbytagname-5)
    
    #### Parameters
    
    -   qualifiedName: string
    
    #### Returns [HTMLCollectionOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollectionOf/)<[Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\>
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[getElementsByTagName](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#getelementsbytagname)
    

### getElementsByTagNameNS[](#getelementsbytagnamens)

-   getElementsByTagNameNS(  
        namespaceURI: "http://www.w3.org/1999/xhtml",  
        localName: string,  
    ): [HTMLCollectionOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollectionOf/)<[HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/)\>[](#getelementsbytagnamens-1)
    
    The **`Element.getElementsByTagNameNS()`** method returns a live HTMLCollection of elements with the given tag name belonging to the given namespace. It is similar to Document.getElementsByTagNameNS, except that its search is restricted to descendants of the specified element.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getElementsByTagNameNS)
    
    #### Parameters
    
    -   namespaceURI: "http://www.w3.org/1999/xhtml"
    -   localName: string
    
    #### Returns [HTMLCollectionOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollectionOf/)<[HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/)\>
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[getElementsByTagNameNS](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#getelementsbytagnamens)
    
-   getElementsByTagNameNS(  
        namespaceURI: "http://www.w3.org/2000/svg",  
        localName: string,  
    ): [HTMLCollectionOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollectionOf/)<[SVGElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElement/)\>[](#getelementsbytagnamens-2)
    
    #### Parameters
    
    -   namespaceURI: "http://www.w3.org/2000/svg"
    -   localName: string
    
    #### Returns [HTMLCollectionOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollectionOf/)<[SVGElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElement/)\>
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[getElementsByTagNameNS](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#getelementsbytagnamens)
    
-   getElementsByTagNameNS(  
        namespaceURI: "http://www.w3.org/1998/Math/MathML",  
        localName: string,  
    ): [HTMLCollectionOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollectionOf/)<[MathMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElement/)\>[](#getelementsbytagnamens-3)
    
    #### Parameters
    
    -   namespaceURI: "http://www.w3.org/1998/Math/MathML"
    -   localName: string
    
    #### Returns [HTMLCollectionOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollectionOf/)<[MathMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElement/)\>
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[getElementsByTagNameNS](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#getelementsbytagnamens)
    
-   getElementsByTagNameNS(  
        namespace: string | null,  
        localName: string,  
    ): [HTMLCollectionOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollectionOf/)<[Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\>[](#getelementsbytagnamens-4)
    
    #### Parameters
    
    -   namespace: string | null
    -   localName: string
    
    #### Returns [HTMLCollectionOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCollectionOf/)<[Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\>
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[getElementsByTagNameNS](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#getelementsbytagnamens)
    

### getHTML[](#gethtml)

-   getHTML(options?: [GetHTMLOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GetHTMLOptions/)): string[](#gethtml-1)
    
    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/docs/Web/API/Element/getHTML)
    
    #### Parameters
    
    -   `Optional`options: [GetHTMLOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GetHTMLOptions/)
    
    #### Returns string
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[getHTML](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#gethtml)
    

### getRootNode[](#getrootnode)

-   getRootNode(options?: [GetRootNodeOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GetRootNodeOptions/)): [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/)[](#getrootnode-1)
    
    The **`getRootNode()`** method of the Node interface returns the context object's root, which optionally includes the shadow root if it is available.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/getRootNode)
    
    #### Parameters
    
    -   `Optional`options: [GetRootNodeOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.GetRootNodeOptions/)
    
    #### Returns [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/)
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[getRootNode](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#getrootnode)
    

### hasAttribute[](#hasattribute)

-   hasAttribute(qualifiedName: string): boolean[](#hasattribute-1)
    
    The **`Element.hasAttribute()`** method returns a Boolean value indicating whether the specified element has the specified attribute or not.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/hasAttribute)
    
    #### Parameters
    
    -   qualifiedName: string
    
    #### Returns boolean
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[hasAttribute](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#hasattribute)
    

### hasAttributeNS[](#hasattributens)

-   hasAttributeNS(namespace: string | null, localName: string): boolean[](#hasattributens-1)
    
    The **`hasAttributeNS()`** method of the Element interface returns a boolean value indicating whether the current element has the specified attribute with the specified namespace.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/hasAttributeNS)
    
    #### Parameters
    
    -   namespace: string | null
    -   localName: string
    
    #### Returns boolean
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[hasAttributeNS](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#hasattributens)
    

### hasAttributes[](#hasattributes)

-   hasAttributes(): boolean[](#hasattributes-1)
    
    The **`hasAttributes()`** method of the Element interface returns a boolean value indicating whether the current element has any attributes or not.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/hasAttributes)
    
    #### Returns boolean
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[hasAttributes](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#hasattributes)
    

### hasChildNodes[](#haschildnodes)

-   hasChildNodes(): boolean[](#haschildnodes-1)
    
    The **`hasChildNodes()`** method of the Node interface returns a boolean value indicating whether the given Node has child nodes or not.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/hasChildNodes)
    
    #### Returns boolean
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[hasChildNodes](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#haschildnodes)
    

### hasPointerCapture[](#haspointercapture)

-   hasPointerCapture(pointerId: number): boolean[](#haspointercapture-1)
    
    The **`hasPointerCapture()`** method of the Element interface checks whether the element on which it is invoked has pointer capture for the pointer identified by the given pointer ID.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/hasPointerCapture)
    
    #### Parameters
    
    -   pointerId: number
    
    #### Returns boolean
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[hasPointerCapture](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#haspointercapture)
    

### hidePopover[](#hidepopover)

-   hidePopover(): void[](#hidepopover-1)
    
    The **`hidePopover()`** method of the HTMLElement interface hides a popover element (i.e., one that has a valid popover attribute) by removing it from the top layer and styling it with display: none.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/hidePopover)
    
    #### Returns void
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[hidePopover](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#hidepopover)
    

### insertAdjacentElement[](#insertadjacentelement)

-   insertAdjacentElement(where: [InsertPosition](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.InsertPosition/), element: [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)): [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/) | null[](#insertadjacentelement-1)
    
    The **`insertAdjacentElement()`** method of the Element interface inserts a given element node at a given position relative to the element it is invoked upon.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentElement)
    
    #### Parameters
    
    -   where: [InsertPosition](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.InsertPosition/)
    -   element: [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)
    
    #### Returns [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/) | null
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[insertAdjacentElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#insertadjacentelement)
    

### insertAdjacentHTML[](#insertadjacenthtml)

-   insertAdjacentHTML(position: [InsertPosition](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.InsertPosition/), string: string): void[](#insertadjacenthtml-1)
    
    The **`insertAdjacentHTML()`** method of the Element interface parses the specified input as HTML or XML and inserts the resulting nodes into the DOM tree at a specified position.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentHTML)
    
    #### Parameters
    
    -   position: [InsertPosition](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.InsertPosition/)
    -   string: string
    
    #### Returns void
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[insertAdjacentHTML](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#insertadjacenthtml)
    

### insertAdjacentText[](#insertadjacenttext)

-   insertAdjacentText(where: [InsertPosition](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.InsertPosition/), data: string): void[](#insertadjacenttext-1)
    
    The **`insertAdjacentText()`** method of the Element interface, given a relative position and a string, inserts a new text node at the given position relative to the element it is called from.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentText)
    
    #### Parameters
    
    -   where: [InsertPosition](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.InsertPosition/)
    -   data: string
    
    #### Returns void
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[insertAdjacentText](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#insertadjacenttext)
    

### insertBefore[](#insertbefore)

-   insertBefore<[T](#insertbeforet) extends [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/)\>(node: [T](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#insertbeforet), child: [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/) | null): [T](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#insertbeforet)[](#insertbefore-1)
    
    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://developer.mozilla.org/docs/Web/API/Node/insertBefore)
    
    #### Type Parameters
    
    -   T extends [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/)
    
    #### Parameters
    
    -   node: [T](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#insertbeforet)
    -   child: [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/) | null
    
    #### Returns [T](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#insertbeforet)
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[insertBefore](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#insertbefore)
    

### isDefaultNamespace[](#isdefaultnamespace)

-   isDefaultNamespace(namespace: string | null): boolean[](#isdefaultnamespace-1)
    
    The **`isDefaultNamespace()`** method of the Node interface accepts a namespace URI as an argument. It returns a boolean value that is true if the namespace is the default namespace on the given node and false if not. The default namespace can be retrieved with Node.lookupNamespaceURI() by passing null as the argument.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/isDefaultNamespace)
    
    #### Parameters
    
    -   namespace: string | null
    
    #### Returns boolean
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[isDefaultNamespace](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#isdefaultnamespace)
    

### isEqualNode[](#isequalnode)

-   isEqualNode(otherNode: [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/) | null): boolean[](#isequalnode-1)
    
    The **`isEqualNode()`** method of the Node interface tests whether two nodes are equal. Two nodes are equal when they have the same type, defining characteristics (for elements, this would be their ID, number of children, and so forth), its attributes match, and so on. The specific set of data points that must match varies depending on the types of the nodes.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/isEqualNode)
    
    #### Parameters
    
    -   otherNode: [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/) | null
    
    #### Returns boolean
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[isEqualNode](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#isequalnode)
    

### isSameNode[](#issamenode)

-   isSameNode(otherNode: [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/) | null): boolean[](#issamenode-1)
    
    The **`isSameNode()`** method of the Node interface is a legacy alias the for the === strict equality operator. That is, it tests whether two nodes are the same (in other words, whether they reference the same object).
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/isSameNode)
    
    #### Parameters
    
    -   otherNode: [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/) | null
    
    #### Returns boolean
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[isSameNode](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#issamenode)
    

### lookupNamespaceURI[](#lookupnamespaceuri)

-   lookupNamespaceURI(prefix: string | null): string | null[](#lookupnamespaceuri-1)
    
    The **`lookupNamespaceURI()`** method of the Node interface takes a prefix as parameter and returns the namespace URI associated with it on the given node if found (and null if not). This method's existence allows Node objects to be passed as a namespace resolver to XPathEvaluator.createExpression() and XPathEvaluator.evaluate().
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/lookupNamespaceURI)
    
    #### Parameters
    
    -   prefix: string | null
    
    #### Returns string | null
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[lookupNamespaceURI](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#lookupnamespaceuri)
    

### lookupPrefix[](#lookupprefix)

-   lookupPrefix(namespace: string | null): string | null[](#lookupprefix-1)
    
    The **`lookupPrefix()`** method of the Node interface returns a string containing the prefix for a given namespace URI, if present, and null if not. When multiple prefixes are possible, the first prefix is returned.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/lookupPrefix)
    
    #### Parameters
    
    -   namespace: string | null
    
    #### Returns string | null
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[lookupPrefix](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#lookupprefix)
    

### matches[](#matches)

-   matches<[K](#matchesk) extends keyof [HTMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementTagNameMap/)\>(  
        selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#matchesk),  
    ): this is [HTMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#matchesk)\][](#matches-1)
    
    The **`matches()`** method of the Element interface tests whether the element would be selected by the specified CSS selector.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/matches)
    
    #### Type Parameters
    
    -   K extends keyof [HTMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementTagNameMap/)
    
    #### Parameters
    
    -   selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#matchesk)
    
    #### Returns this is [HTMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#matchesk)\]
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[matches](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#matches)
    
-   matches<[K](#matchesk-1) extends keyof [SVGElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElementTagNameMap/)\>(  
        selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#matchesk-1),  
    ): this is [SVGElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#matchesk-1)\][](#matches-2)
    
    #### Type Parameters
    
    -   K extends keyof [SVGElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElementTagNameMap/)
    
    #### Parameters
    
    -   selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#matchesk-1)
    
    #### Returns this is [SVGElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#matchesk-1)\]
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[matches](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#matches)
    
-   matches<[K](#matchesk-2) extends keyof [MathMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElementTagNameMap/)\>(  
        selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#matchesk-2),  
    ): this is [MathMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#matchesk-2)\][](#matches-3)
    
    #### Type Parameters
    
    -   K extends keyof [MathMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElementTagNameMap/)
    
    #### Parameters
    
    -   selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#matchesk-2)
    
    #### Returns this is [MathMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#matchesk-2)\]
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[matches](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#matches)
    
-   matches(selectors: string): boolean[](#matches-4)
    
    #### Parameters
    
    -   selectors: string
    
    #### Returns boolean
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[matches](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#matches)
    

### moveBefore[](#movebefore)

-   moveBefore(node: [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/), child: [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/) | null): void[](#movebefore-1)
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/moveBefore)
    
    #### Parameters
    
    -   node: [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/)
    -   child: [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/) | null
    
    #### Returns void
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[moveBefore](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#movebefore)
    

### normalize[](#normalize)

-   normalize(): void[](#normalize-1)
    
    The **`normalize()`** method of the Node interface puts the specified node and all of its sub-tree into a normalized form. In a normalized sub-tree, no text nodes in the sub-tree are empty and there are no adjacent text nodes.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/normalize)
    
    #### Returns void
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[normalize](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#normalize)
    

### prepend[](#prepend)

-   prepend(...nodes: (string | [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/))\[\]): void[](#prepend-1)
    
    Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.
    
    Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/prepend)
    
    #### Parameters
    
    -   ...nodes: (string | [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/))\[\]
    
    #### Returns void
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[prepend](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#prepend)
    

### querySelector[](#queryselector)

-   querySelector<[K](#queryselectork) extends keyof [HTMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementTagNameMap/)\>(  
        selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectork),  
    ): [HTMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectork)\] | null[](#queryselector-1)
    
    Returns the first element that is a descendant of node that matches selectors.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/querySelector)
    
    #### Type Parameters
    
    -   K extends keyof [HTMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementTagNameMap/)
    
    #### Parameters
    
    -   selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectork)
    
    #### Returns [HTMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectork)\] | null
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[querySelector](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#queryselector)
    
-   querySelector<[K](#queryselectork-1) extends keyof [SVGElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElementTagNameMap/)\>(  
        selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectork-1),  
    ): [SVGElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectork-1)\] | null[](#queryselector-2)
    
    #### Type Parameters
    
    -   K extends keyof [SVGElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElementTagNameMap/)
    
    #### Parameters
    
    -   selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectork-1)
    
    #### Returns [SVGElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectork-1)\] | null
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[querySelector](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#queryselector)
    
-   querySelector<[K](#queryselectork-2) extends keyof [MathMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElementTagNameMap/)\>(  
        selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectork-2),  
    ): [MathMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectork-2)\] | null[](#queryselector-3)
    
    #### Type Parameters
    
    -   K extends keyof [MathMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElementTagNameMap/)
    
    #### Parameters
    
    -   selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectork-2)
    
    #### Returns [MathMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectork-2)\] | null
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[querySelector](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#queryselector)
    
-   querySelector<[K](#queryselectork-3) extends keyof [HTMLElementDeprecatedTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementDeprecatedTagNameMap/)\>(  
        selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectork-3),  
    ): [HTMLElementDeprecatedTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementDeprecatedTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectork-3)\] | null[](#queryselector-4)
    
    #### Type Parameters
    
    -   K extends keyof [HTMLElementDeprecatedTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementDeprecatedTagNameMap/)
    
    #### Parameters
    
    -   selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectork-3)
    
    #### Returns [HTMLElementDeprecatedTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementDeprecatedTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectork-3)\] | null
    
    #### Deprecated[](#deprecated-6)
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[querySelector](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#queryselector)
    
-   querySelector<[E](#queryselectore) extends [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/) \= [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\>(selectors: string): [E](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectore) | null[](#queryselector-5)
    
    #### Type Parameters
    
    -   E extends [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/) = [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)
    
    #### Parameters
    
    -   selectors: string
    
    #### Returns [E](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectore) | null
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[querySelector](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#queryselector)
    

### querySelectorAll[](#queryselectorall)

-   querySelectorAll<[K](#queryselectorallk) extends keyof [HTMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementTagNameMap/)\>(  
        selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectorallk),  
    ): [NodeListOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.NodeListOf/)<[HTMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectorallk)\]\>[](#queryselectorall-1)
    
    Returns all element descendants of node that match selectors.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/querySelectorAll)
    
    #### Type Parameters
    
    -   K extends keyof [HTMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementTagNameMap/)
    
    #### Parameters
    
    -   selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectorallk)
    
    #### Returns [NodeListOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.NodeListOf/)<[HTMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectorallk)\]\>
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[querySelectorAll](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#queryselectorall)
    
-   querySelectorAll<[K](#queryselectorallk-1) extends keyof [SVGElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElementTagNameMap/)\>(  
        selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectorallk-1),  
    ): [NodeListOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.NodeListOf/)<[SVGElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectorallk-1)\]\>[](#queryselectorall-2)
    
    #### Type Parameters
    
    -   K extends keyof [SVGElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElementTagNameMap/)
    
    #### Parameters
    
    -   selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectorallk-1)
    
    #### Returns [NodeListOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.NodeListOf/)<[SVGElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectorallk-1)\]\>
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[querySelectorAll](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#queryselectorall)
    
-   querySelectorAll<[K](#queryselectorallk-2) extends keyof [MathMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElementTagNameMap/)\>(  
        selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectorallk-2),  
    ): [NodeListOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.NodeListOf/)<[MathMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectorallk-2)\]\>[](#queryselectorall-3)
    
    #### Type Parameters
    
    -   K extends keyof [MathMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElementTagNameMap/)
    
    #### Parameters
    
    -   selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectorallk-2)
    
    #### Returns [NodeListOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.NodeListOf/)<[MathMLElementTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.MathMLElementTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectorallk-2)\]\>
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[querySelectorAll](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#queryselectorall)
    
-   querySelectorAll<[K](#queryselectorallk-3) extends keyof [HTMLElementDeprecatedTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementDeprecatedTagNameMap/)\>(  
        selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectorallk-3),  
    ): [NodeListOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.NodeListOf/)<[HTMLElementDeprecatedTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementDeprecatedTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectorallk-3)\]\>[](#queryselectorall-4)
    
    #### Type Parameters
    
    -   K extends keyof [HTMLElementDeprecatedTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementDeprecatedTagNameMap/)
    
    #### Parameters
    
    -   selectors: [K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectorallk-3)
    
    #### Returns [NodeListOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.NodeListOf/)<[HTMLElementDeprecatedTagNameMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementDeprecatedTagNameMap/)\[[K](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectorallk-3)\]\>
    
    #### Deprecated[](#deprecated-7)
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[querySelectorAll](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#queryselectorall)
    
-   querySelectorAll<[E](#queryselectoralle) extends [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/) \= [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)\>(selectors: string): [NodeListOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.NodeListOf/)<[E](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectoralle)\>[](#queryselectorall-5)
    
    #### Type Parameters
    
    -   E extends [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/) = [Element](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Element/)
    
    #### Parameters
    
    -   selectors: string
    
    #### Returns [NodeListOf](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.NodeListOf/)<[E](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#queryselectoralle)\>
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[querySelectorAll](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#queryselectorall)
    

### releasePointerCapture[](#releasepointercapture)

-   releasePointerCapture(pointerId: number): void[](#releasepointercapture-1)
    
    The **`releasePointerCapture()`** method of the Element interface releases (stops) pointer capture that was previously set for a specific (PointerEvent) pointer.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/releasePointerCapture)
    
    #### Parameters
    
    -   pointerId: number
    
    #### Returns void
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[releasePointerCapture](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#releasepointercapture)
    

### remove[](#remove)

-   remove(): void[](#remove-1)
    
    Removes node.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/remove)
    
    #### Returns void
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[remove](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#remove)
    

### removeAttribute[](#removeattribute)

-   removeAttribute(qualifiedName: string): void[](#removeattribute-1)
    
    The Element method **`removeAttribute()`** removes the attribute with the specified name from the element.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/removeAttribute)
    
    #### Parameters
    
    -   qualifiedName: string
    
    #### Returns void
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[removeAttribute](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#removeattribute)
    

### removeAttributeNode[](#removeattributenode)

-   removeAttributeNode(attr: [Attr](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Attr/)): [Attr](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Attr/)[](#removeattributenode-1)
    
    The **`removeAttributeNode()`** method of the Element interface removes the specified Attr node from the element.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/removeAttributeNode)
    
    #### Parameters
    
    -   attr: [Attr](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Attr/)
    
    #### Returns [Attr](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Attr/)
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[removeAttributeNode](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#removeattributenode)
    

### removeAttributeNS[](#removeattributens)

-   removeAttributeNS(namespace: string | null, localName: string): void[](#removeattributens-1)
    
    The **`removeAttributeNS()`** method of the Element interface removes the specified attribute with the specified namespace from an element.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/removeAttributeNS)
    
    #### Parameters
    
    -   namespace: string | null
    -   localName: string
    
    #### Returns void
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[removeAttributeNS](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#removeattributens)
    

### removeChild[](#removechild)

-   removeChild<[T](#removechildt) extends [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/)\>(child: [T](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#removechildt)): [T](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#removechildt)[](#removechild-1)
    
    The **`removeChild()`** method of the Node interface removes a child node from the DOM and returns the removed node.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/removeChild)
    
    #### Type Parameters
    
    -   T extends [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/)
    
    #### Parameters
    
    -   child: [T](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#removechildt)
    
    #### Returns [T](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#removechildt)
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[removeChild](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#removechild)
    

### removeEventListener[](#removeeventlistener)

-   removeEventListener<[K](#removeeventlistenerk) extends keyof [HTMLElementEventMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementEventMap/)\>(  
        type: [K](#removeeventlistenerk),  
        listener: (this: HTMLFormElement, ev: [HTMLElementEventMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementEventMap/)\[[K](#removeeventlistenerk)\]) \=> any,  
        options?: boolean | EventListenerOptions,  
    ): void[](#removeeventlistener-1)
    
    The **`removeEventListener()`** method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target. The event listener to be removed is identified using a combination of the event type, the event listener function itself, and various optional options that may affect the matching process; see Matching event listeners for removal.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
    
    #### Type Parameters
    
    -   K extends keyof [HTMLElementEventMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementEventMap/)
    
    #### Parameters
    
    -   type: [K](#removeeventlistenerk)
    -   listener: (this: HTMLFormElement, ev: [HTMLElementEventMap](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElementEventMap/)\[[K](#removeeventlistenerk)\]) \=> any
    -   `Optional`options: boolean | EventListenerOptions
    
    #### Returns void
    
    Overrides [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[removeEventListener](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#removeeventlistener)
    
-   removeEventListener(  
        type: string,  
        listener: [EventListenerOrEventListenerObject](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.EventListenerOrEventListenerObject/),  
        options?: boolean | EventListenerOptions,  
    ): void[](#removeeventlistener-2)
    
    The **`removeEventListener()`** method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target. The event listener to be removed is identified using a combination of the event type, the event listener function itself, and various optional options that may affect the matching process; see Matching event listeners for removal.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
    
    #### Parameters
    
    -   type: string
    -   listener: [EventListenerOrEventListenerObject](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.EventListenerOrEventListenerObject/)
    -   `Optional`options: boolean | EventListenerOptions
    
    #### Returns void
    
    Overrides [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[removeEventListener](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#removeeventlistener)
    

### replaceChild[](#replacechild)

-   replaceChild<[T](#replacechildt) extends [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/)\>(node: [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/), child: [T](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#replacechildt)): [T](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#replacechildt)[](#replacechild-1)
    
    The **`replaceChild()`** method of the Node interface replaces a child node within the given (parent) node.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/replaceChild)
    
    #### Type Parameters
    
    -   T extends [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/)
    
    #### Parameters
    
    -   node: [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/)
    -   child: [T](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#replacechildt)
    
    #### Returns [T](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLCanvasElement/#replacechildt)
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[replaceChild](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#replacechild)
    

### replaceChildren[](#replacechildren)

-   replaceChildren(...nodes: (string | [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/))\[\]): void[](#replacechildren-1)
    
    Replace all children of node with nodes, while replacing strings in nodes with equivalent Text nodes.
    
    Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/replaceChildren)
    
    #### Parameters
    
    -   ...nodes: (string | [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/))\[\]
    
    #### Returns void
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[replaceChildren](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#replacechildren)
    

### replaceWith[](#replacewith)

-   replaceWith(...nodes: (string | [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/))\[\]): void[](#replacewith-1)
    
    Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes.
    
    Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/replaceWith)
    
    #### Parameters
    
    -   ...nodes: (string | [Node](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Node/))\[\]
    
    #### Returns void
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[replaceWith](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#replacewith)
    

### reportValidity[](#reportvalidity)

-   reportValidity(): boolean[](#reportvalidity-1)
    
    The **`reportValidity()`** method of the HTMLFormElement interface performs the same validity checking steps as the checkValidity() method. In addition, for each invalid event that was fired and not canceled, the browser displays the problem to the user.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/reportValidity)
    
    #### Returns boolean
    

### requestFullscreen[](#requestfullscreen)

-   requestFullscreen(options?: [FullscreenOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.FullscreenOptions/)): Promise<void\>[](#requestfullscreen-1)
    
    The **`Element.requestFullscreen()`** method issues an asynchronous request to make the element be displayed in fullscreen mode.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/requestFullscreen)
    
    #### Parameters
    
    -   `Optional`options: [FullscreenOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.FullscreenOptions/)
    
    #### Returns Promise<void\>
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[requestFullscreen](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#requestfullscreen)
    

### requestPointerLock[](#requestpointerlock)

-   requestPointerLock(options?: [PointerLockOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PointerLockOptions/)): Promise<void\>[](#requestpointerlock-1)
    
    The **`requestPointerLock()`** method of the Element interface lets you asynchronously ask for the pointer to be locked on the given element.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/requestPointerLock)
    
    #### Parameters
    
    -   `Optional`options: [PointerLockOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.PointerLockOptions/)
    
    #### Returns Promise<void\>
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[requestPointerLock](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#requestpointerlock)
    

### requestSubmit[](#requestsubmit)

-   requestSubmit(submitter?: [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/) | null): void[](#requestsubmit-1)
    
    The HTMLFormElement method **`requestSubmit()`** requests that the form be submitted using a specific submit button.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/requestSubmit)
    
    #### Parameters
    
    -   `Optional`submitter: [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/) | null
    
    #### Returns void
    

### reset[](#reset)

-   reset(): void[](#reset-1)
    
    The **`HTMLFormElement.reset()`** method restores a form element's default values. This method does the same thing as clicking the form's  control.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/reset)
    
    #### Returns void
    

### scroll[](#scroll)

-   scroll(options?: [ScrollToOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ScrollToOptions/)): void[](#scroll-1)
    
    The **`scroll()`** method of the Element interface scrolls the element to a particular set of coordinates inside a given element.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scroll)
    
    #### Parameters
    
    -   `Optional`options: [ScrollToOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ScrollToOptions/)
    
    #### Returns void
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[scroll](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#scroll)
    
-   scroll(x: number, y: number): void[](#scroll-2)
    
    #### Parameters
    
    -   x: number
    -   y: number
    
    #### Returns void
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[scroll](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#scroll)
    

### scrollBy[](#scrollby)

-   scrollBy(options?: [ScrollToOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ScrollToOptions/)): void[](#scrollby-1)
    
    The **`scrollBy()`** method of the Element interface scrolls an element by the given amount.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollBy)
    
    #### Parameters
    
    -   `Optional`options: [ScrollToOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ScrollToOptions/)
    
    #### Returns void
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[scrollBy](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#scrollby)
    
-   scrollBy(x: number, y: number): void[](#scrollby-2)
    
    #### Parameters
    
    -   x: number
    -   y: number
    
    #### Returns void
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[scrollBy](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#scrollby)
    

### scrollIntoView[](#scrollintoview)

-   scrollIntoView(arg?: boolean | [ScrollIntoViewOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ScrollIntoViewOptions/)): void[](#scrollintoview-1)
    
    The Element interface's **`scrollIntoView()`** method scrolls the element's ancestor containers such that the element on which scrollIntoView() is called is visible to the user.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollIntoView)
    
    #### Parameters
    
    -   `Optional`arg: boolean | [ScrollIntoViewOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ScrollIntoViewOptions/)
    
    #### Returns void
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[scrollIntoView](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#scrollintoview)
    

### scrollTo[](#scrollto)

-   scrollTo(options?: [ScrollToOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ScrollToOptions/)): void[](#scrollto-1)
    
    The **`scrollTo()`** method of the Element interface scrolls to a particular set of coordinates inside a given element.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollTo)
    
    #### Parameters
    
    -   `Optional`options: [ScrollToOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ScrollToOptions/)
    
    #### Returns void
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[scrollTo](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#scrollto)
    
-   scrollTo(x: number, y: number): void[](#scrollto-2)
    
    #### Parameters
    
    -   x: number
    -   y: number
    
    #### Returns void
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[scrollTo](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#scrollto)
    

### setAttribute[](#setattribute)

-   setAttribute(qualifiedName: string, value: string): void[](#setattribute-1)
    
    The **`setAttribute()`** method of the Element interface sets the value of an attribute on the specified element. If the attribute already exists, the value is updated; otherwise a new attribute is added with the specified name and value.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttribute)
    
    #### Parameters
    
    -   qualifiedName: string
    -   value: string
    
    #### Returns void
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[setAttribute](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#setattribute)
    

### setAttributeNode[](#setattributenode)

-   setAttributeNode(attr: [Attr](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Attr/)): [Attr](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Attr/) | null[](#setattributenode-1)
    
    The **`setAttributeNode()`** method of the Element interface adds a new Attr node to the specified element.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNode)
    
    #### Parameters
    
    -   attr: [Attr](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Attr/)
    
    #### Returns [Attr](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Attr/) | null
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[setAttributeNode](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#setattributenode)
    

### setAttributeNodeNS[](#setattributenodens)

-   setAttributeNodeNS(attr: [Attr](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Attr/)): [Attr](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Attr/) | null[](#setattributenodens-1)
    
    The **`setAttributeNodeNS()`** method of the Element interface adds a new namespaced Attr node to an element.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNodeNS)
    
    #### Parameters
    
    -   attr: [Attr](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Attr/)
    
    #### Returns [Attr](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Attr/) | null
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[setAttributeNodeNS](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#setattributenodens)
    

### setAttributeNS[](#setattributens)

-   setAttributeNS(  
        namespace: string | null,  
        qualifiedName: string,  
        value: string,  
    ): void[](#setattributens-1)
    
    The **`setAttributeNS()`** method of the Element interface adds a new attribute or changes the value of an attribute with the given namespace and name.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNS)
    
    #### Parameters
    
    -   namespace: string | null
    -   qualifiedName: string
    -   value: string
    
    #### Returns void
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[setAttributeNS](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#setattributens)
    

### setHTMLUnsafe[](#sethtmlunsafe)

-   setHTMLUnsafe(html: string): void[](#sethtmlunsafe-1)
    
    The **`setHTMLUnsafe()`** method of the Element interface is used to parse HTML input into a DocumentFragment, optionally filtering out unwanted elements and attributes, and those that don't belong in the context, and then using it to replace the element's subtree in the DOM.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTMLUnsafe)
    
    #### Parameters
    
    -   html: string
    
    #### Returns void
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[setHTMLUnsafe](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#sethtmlunsafe)
    

### setPointerCapture[](#setpointercapture)

-   setPointerCapture(pointerId: number): void[](#setpointercapture-1)
    
    The **`setPointerCapture()`** method of the Element interface is used to designate a specific element as the capture target of future pointer events. Subsequent events for the pointer will be targeted at the capture element until capture is released (via Element.releasePointerCapture() or the pointerup event is fired).
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture)
    
    #### Parameters
    
    -   pointerId: number
    
    #### Returns void
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[setPointerCapture](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#setpointercapture)
    

### showPopover[](#showpopover)

-   showPopover(options?: [ShowPopoverOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ShowPopoverOptions/)): void[](#showpopover-1)
    
    The **`showPopover()`** method of the HTMLElement interface shows a popover element (i.e., one that has a valid popover attribute) by adding it to the top layer.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/showPopover)
    
    #### Parameters
    
    -   `Optional`options: [ShowPopoverOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.ShowPopoverOptions/)
    
    #### Returns void
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[showPopover](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#showpopover)
    

### submit[](#submit)

-   submit(): void[](#submit-1)
    
    The **`HTMLFormElement.submit()`** method submits a given .
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/submit)
    
    #### Returns void
    

### toggleAttribute[](#toggleattribute)

-   toggleAttribute(qualifiedName: string, force?: boolean): boolean[](#toggleattribute-1)
    
    The **`toggleAttribute()`** method of the Element interface toggles a Boolean attribute (removing it if it is present and adding it if it is not present) on the given element.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/toggleAttribute)
    
    #### Parameters
    
    -   qualifiedName: string
    -   `Optional`force: boolean
    
    #### Returns boolean
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[toggleAttribute](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#toggleattribute)
    

### togglePopover[](#togglepopover)

-   togglePopover(options?: boolean | [TogglePopoverOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.TogglePopoverOptions/)): boolean[](#togglepopover-1)
    
    The **`togglePopover()`** method of the HTMLElement interface toggles a popover element (i.e., one that has a valid popover attribute) between the hidden and showing states.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/togglePopover)
    
    #### Parameters
    
    -   `Optional`options: boolean | [TogglePopoverOptions](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.TogglePopoverOptions/)
    
    #### Returns boolean
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[togglePopover](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#togglepopover)
    

### webkitMatchesSelector[](#webkitmatchesselector)

-   webkitMatchesSelector(selectors: string): boolean[](#webkitmatchesselector-1)
    
    #### Parameters
    
    -   selectors: string
    
    #### Returns boolean
    
    #### Deprecated[](#deprecated-8)
    
    This is a legacy alias of `matches`.
    
    [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/matches)
    
    Inherited from [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/).[webkitMatchesSelector](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/#webkitmatchesselector)
