Provides special properties (beyond those of the regular HTMLElement object interface it inherits) for manipulating elements, representing a pair of a key and a value that acts as a parameter for an element. Deprecated Hierarchy HTMLElement HTMLParamElement Index Properties ATTRIBUTE_NODE CDATA_SECTION_NODE COMMENT_NODE DOCUMENT_FRAGMENT_NODE DOCUMENT_NODE DOCUMENT_POSITION_CONTAINED_BY DOCUMENT_POSITION_CONTAINS DOCUMENT_POSITION_DISCONNECTED DOCUMENT_POSITION_FOLLOWING DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC DOCUMENT_POSITION_PRECEDING DOCUMENT_TYPE_NODE ELEMENT_NODE ENTITY_NODE ENTITY_REFERENCE_NODE NOTATION_NODE PROCESSING_INSTRUCTION_NODE TEXT_NODE accessKey accessKeyLabel ariaAtomic ariaAutoComplete ariaBusy ariaChecked ariaColCount ariaColIndex ariaColIndexText ariaColSpan ariaCurrent ariaDisabled ariaExpanded ariaHasPopup ariaHidden ariaInvalid ariaKeyShortcuts ariaLabel ariaLevel ariaLive ariaModal ariaMultiLine ariaMultiSelectable ariaOrientation ariaPlaceholder ariaPosInSet ariaPressed ariaReadOnly ariaRequired ariaRoleDescription ariaRowCount ariaRowIndex ariaRowIndexText ariaRowSpan ariaSelected ariaSetSize ariaSort ariaValueMax ariaValueMin ariaValueNow ariaValueText assignedSlot attributes autocapitalize autofocus baseURI childElementCount childNodes children classList className clientHeight clientLeft clientTop clientWidth contentEditable dataset dir draggable enterKeyHint firstChild firstElementChild hidden id inert innerHTML innerText inputMode isConnected isContentEditable lang lastChild lastElementChild localName name namespaceURI nextElementSibling nextSibling nodeName nodeType nodeValue nonce? offsetHeight offsetLeft offsetParent offsetTop offsetWidth onabort onanimationcancel onanimationend onanimationiteration onanimationstart onauxclick onbeforeinput onblur oncancel oncanplay oncanplaythrough onchange onclick onclose oncontextmenu oncopy oncuechange oncut ondblclick ondrag ondragend ondragenter ondragleave ondragover ondragstart ondrop ondurationchange onemptied onended onerror onfocus onformdata onfullscreenchange onfullscreenerror ongotpointercapture oninput oninvalid onkeydown onkeypress onkeyup onload onloadeddata onloadedmetadata onloadstart onlostpointercapture onmousedown onmouseenter onmouseleave onmousemove onmouseout onmouseover onmouseup onpaste onpause onplay onplaying onpointercancel onpointerdown onpointerenter onpointerleave onpointermove onpointerout onpointerover onpointerup onprogress onratechange onreset onresize onscroll onsecuritypolicyviolation onseeked onseeking onselect onselectionchange onselectstart onslotchange onstalled onsubmit onsuspend ontimeupdate ontoggle ontouchcancel? ontouchend? ontouchmove? ontouchstart? ontransitioncancel ontransitionend ontransitionrun ontransitionstart onvolumechange onwaiting onwebkitanimationend onwebkitanimationiteration onwebkitanimationstart onwebkittransitionend onwheel outerHTML outerText ownerDocument parentElement parentNode part prefix previousElementSibling previousSibling role scrollHeight scrollLeft scrollTop scrollWidth shadowRoot slot spellcheck style tabIndex tagName textContent title translate type value valueType Methods addEventListener after animate append appendChild attachInternals attachShadow before blur click cloneNode closest compareDocumentPosition contains dispatchEvent focus getAnimations getAttribute getAttributeNS getAttributeNames getAttributeNode getAttributeNodeNS getBoundingClientRect getClientRects getElementsByClassName getElementsByTagName getElementsByTagNameNS getRootNode hasAttribute hasAttributeNS hasAttributes hasChildNodes hasPointerCapture insertAdjacentElement insertAdjacentHTML insertAdjacentText insertBefore isDefaultNamespace isEqualNode isSameNode lookupNamespaceURI lookupPrefix matches normalize prepend querySelector querySelectorAll releasePointerCapture remove removeAttribute removeAttributeNS removeAttributeNode removeChild removeEventListener replaceChild replaceChildren replaceWith requestFullscreen requestPointerLock scroll scrollBy scrollIntoView scrollTo setAttribute setAttributeNS setAttributeNode setAttributeNodeNS setPointerCapture toggleAttribute webkitMatchesSelector Properties Readonly ATTRIBUTE_NODE ATTRIBUTE_NODE: number Readonly CDATA_SECTION_NODE CDATA_SECTION_NODE: number node is a CDATASection node. Readonly COMMENT_NODE COMMENT_NODE: number node is a Comment node. Readonly DOCUMENT_FRAGMENT_NODE DOCUMENT_FRAGMENT_NODE: number node is a DocumentFragment node. Readonly DOCUMENT_NODE DOCUMENT_NODE: number node is a document. Readonly DOCUMENT_POSITION_CONTAINED_BY DOCUMENT_POSITION_CONTAINED_BY: number Set when other is a descendant of node. Readonly DOCUMENT_POSITION_CONTAINS DOCUMENT_POSITION_CONTAINS: number Set when other is an ancestor of node. Readonly DOCUMENT_POSITION_DISCONNECTED DOCUMENT_POSITION_DISCONNECTED: number Set when node and other are not in the same tree. Readonly DOCUMENT_POSITION_FOLLOWING DOCUMENT_POSITION_FOLLOWING: number Set when other is following node. Readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number Readonly DOCUMENT_POSITION_PRECEDING DOCUMENT_POSITION_PRECEDING: number Set when other is preceding node. Readonly DOCUMENT_TYPE_NODE DOCUMENT_TYPE_NODE: number node is a doctype. Readonly ELEMENT_NODE ELEMENT_NODE: number node is an element. Readonly ENTITY_NODE ENTITY_NODE: number Readonly ENTITY_REFERENCE_NODE ENTITY_REFERENCE_NODE: number Readonly NOTATION_NODE NOTATION_NODE: number Readonly PROCESSING_INSTRUCTION_NODE PROCESSING_INSTRUCTION_NODE: number node is a ProcessingInstruction node. Readonly TEXT_NODE TEXT_NODE: number node is a Text node. accessKey accessKey: string Readonly accessKeyLabel accessKeyLabel: string ariaAtomic ariaAtomic: string ariaAutoComplete ariaAutoComplete: string ariaBusy ariaBusy: string ariaChecked ariaChecked: string ariaColCount ariaColCount: string ariaColIndex ariaColIndex: string ariaColIndexText ariaColIndexText: string ariaColSpan ariaColSpan: string ariaCurrent ariaCurrent: string ariaDisabled ariaDisabled: string ariaExpanded ariaExpanded: string ariaHasPopup ariaHasPopup: string ariaHidden ariaHidden: string ariaInvalid ariaInvalid: string ariaKeyShortcuts ariaKeyShortcuts: string ariaLabel ariaLabel: string ariaLevel ariaLevel: string ariaLive ariaLive: string ariaModal ariaModal: string ariaMultiLine ariaMultiLine: string ariaMultiSelectable ariaMultiSelectable: string ariaOrientation ariaOrientation: string ariaPlaceholder ariaPlaceholder: string ariaPosInSet ariaPosInSet: string ariaPressed ariaPressed: string ariaReadOnly ariaReadOnly: string ariaRequired ariaRequired: string ariaRoleDescription ariaRoleDescription: string ariaRowCount ariaRowCount: string ariaRowIndex ariaRowIndex: string ariaRowIndexText ariaRowIndexText: string ariaRowSpan ariaRowSpan: string ariaSelected ariaSelected: string ariaSetSize ariaSetSize: string ariaSort ariaSort: string ariaValueMax ariaValueMax: string ariaValueMin ariaValueMin: string ariaValueNow ariaValueNow: string ariaValueText ariaValueText: string Readonly assignedSlot assignedSlot: HTMLSlotElement Readonly attributes attributes: NamedNodeMap autocapitalize autocapitalize: string autofocus autofocus: boolean Readonly baseURI baseURI: string Returns node's node document's document base URL. Readonly childElementCount childElementCount: number Readonly childNodes childNodes: NodeListOf<ChildNode> Returns the children. Readonly children children: HTMLCollection Returns the child elements. Readonly classList classList: DOMTokenList Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object. className className: string Returns the value of element's class content attribute. Can be set to change it. Readonly clientHeight clientHeight: number Readonly clientLeft clientLeft: number Readonly clientTop clientTop: number Readonly clientWidth clientWidth: number contentEditable contentEditable: string Readonly dataset dataset: DOMStringMap dir dir: string draggable draggable: boolean enterKeyHint enterKeyHint: string Readonly firstChild firstChild: ChildNode Returns the first child. Readonly firstElementChild firstElementChild: Element Returns the first child that is an element, and null otherwise. hidden hidden: boolean id id: string Returns the value of element's id content attribute. Can be set to change it. inert inert: boolean innerHTML innerHTML: string innerText innerText: string inputMode inputMode: string Readonly isConnected isConnected: boolean Returns true if node is connected and false otherwise. Readonly isContentEditable isContentEditable: boolean lang lang: string Readonly lastChild lastChild: ChildNode Returns the last child. Readonly lastElementChild lastElementChild: Element Returns the last child that is an element, and null otherwise. Readonly localName localName: string Returns the local name. name name: string Sets or retrieves the name of an input parameter for an element. Deprecated Readonly namespaceURI namespaceURI: string Returns the namespace. Readonly nextElementSibling nextElementSibling: Element Returns the first following sibling that is an element, and null otherwise. Readonly nextSibling nextSibling: ChildNode Returns the next sibling. Readonly nodeName nodeName: string Returns a string appropriate for the type of node. Readonly nodeType nodeType: number Returns the type of node. nodeValue nodeValue: string Optional nonce nonce?: string Readonly offsetHeight offsetHeight: number Readonly offsetLeft offsetLeft: number Readonly offsetParent offsetParent: Element Readonly offsetTop offsetTop: number Readonly offsetWidth offsetWidth: number onabort onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) Type declaration (this: GlobalEventHandlers, ev: UIEvent): any Fires when the user aborts the download. Parameters this: GlobalEventHandlers ev: UIEvent The event. Returns any onanimationcancel onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) Type declaration (this: GlobalEventHandlers, ev: AnimationEvent): any Parameters this: GlobalEventHandlers ev: AnimationEvent Returns any onanimationend onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) Type declaration (this: GlobalEventHandlers, ev: AnimationEvent): any Parameters this: GlobalEventHandlers ev: AnimationEvent Returns any onanimationiteration onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) Type declaration (this: GlobalEventHandlers, ev: AnimationEvent): any Parameters this: GlobalEventHandlers ev: AnimationEvent Returns any onanimationstart onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) Type declaration (this: GlobalEventHandlers, ev: AnimationEvent): any Parameters this: GlobalEventHandlers ev: AnimationEvent Returns any onauxclick onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) Type declaration (this: GlobalEventHandlers, ev: MouseEvent): any Parameters this: GlobalEventHandlers ev: MouseEvent Returns any onbeforeinput onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) Type declaration (this: GlobalEventHandlers, ev: InputEvent): any Parameters this: GlobalEventHandlers ev: InputEvent Returns any onblur onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) Type declaration (this: GlobalEventHandlers, ev: FocusEvent): any Fires when the object loses the input focus. Parameters this: GlobalEventHandlers ev: FocusEvent The focus event. Returns any oncancel oncancel: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Parameters this: GlobalEventHandlers ev: Event Returns any oncanplay oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Occurs when playback is possible, but would require further buffering. Parameters this: GlobalEventHandlers ev: Event The event. Returns any oncanplaythrough oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Parameters this: GlobalEventHandlers ev: Event Returns any onchange onchange: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Fires when the contents of the object or selection have changed. Parameters this: GlobalEventHandlers ev: Event The event. Returns any onclick onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) Type declaration (this: GlobalEventHandlers, ev: MouseEvent): any Fires when the user clicks the left mouse button on the object Parameters this: GlobalEventHandlers ev: MouseEvent The mouse event. Returns any onclose onclose: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Parameters this: GlobalEventHandlers ev: Event Returns any oncontextmenu oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) Type declaration (this: GlobalEventHandlers, ev: MouseEvent): any Fires when the user clicks the right mouse button in the client area, opening the context menu. Parameters this: GlobalEventHandlers ev: MouseEvent The mouse event. Returns any oncopy oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) Type declaration (this: DocumentAndElementEventHandlers, ev: ClipboardEvent): any Parameters this: DocumentAndElementEventHandlers ev: ClipboardEvent Returns any oncuechange oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Parameters this: GlobalEventHandlers ev: Event Returns any oncut oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) Type declaration (this: DocumentAndElementEventHandlers, ev: ClipboardEvent): any Parameters this: DocumentAndElementEventHandlers ev: ClipboardEvent Returns any ondblclick ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) Type declaration (this: GlobalEventHandlers, ev: MouseEvent): any Fires when the user double-clicks the object. Parameters this: GlobalEventHandlers ev: MouseEvent The mouse event. Returns any ondrag ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) Type declaration (this: GlobalEventHandlers, ev: DragEvent): any Fires on the source object continuously during a drag operation. Parameters this: GlobalEventHandlers ev: DragEvent The event. Returns any ondragend ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) Type declaration (this: GlobalEventHandlers, ev: DragEvent): any Fires on the source object when the user releases the mouse at the close of a drag operation. Parameters this: GlobalEventHandlers ev: DragEvent The event. Returns any ondragenter ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) Type declaration (this: GlobalEventHandlers, ev: DragEvent): any Fires on the target element when the user drags the object to a valid drop target. Parameters this: GlobalEventHandlers ev: DragEvent The drag event. Returns any ondragleave ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) Type declaration (this: GlobalEventHandlers, ev: DragEvent): any Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation. Parameters this: GlobalEventHandlers ev: DragEvent The drag event. Returns any ondragover ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) Type declaration (this: GlobalEventHandlers, ev: DragEvent): any Fires on the target element continuously while the user drags the object over a valid drop target. Parameters this: GlobalEventHandlers ev: DragEvent The event. Returns any ondragstart ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) Type declaration (this: GlobalEventHandlers, ev: DragEvent): any Fires on the source object when the user starts to drag a text selection or selected object. Parameters this: GlobalEventHandlers ev: DragEvent The event. Returns any ondrop ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) Type declaration (this: GlobalEventHandlers, ev: DragEvent): any Parameters this: GlobalEventHandlers ev: DragEvent Returns any ondurationchange ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Occurs when the duration attribute is updated. Parameters this: GlobalEventHandlers ev: Event The event. Returns any onemptied onemptied: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Occurs when the media element is reset to its initial state. Parameters this: GlobalEventHandlers ev: Event The event. Returns any onended onended: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Occurs when the end of playback is reached. Parameters this: GlobalEventHandlers ev: Event The event Returns any onerror onerror: OnErrorEventHandlerNonNull Fires when an error occurs during object loading. ParamThe event. onfocus onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) Type declaration (this: GlobalEventHandlers, ev: FocusEvent): any Fires when the object receives focus. Parameters this: GlobalEventHandlers ev: FocusEvent The event. Returns any onformdata onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) Type declaration (this: GlobalEventHandlers, ev: FormDataEvent): any Parameters this: GlobalEventHandlers ev: FormDataEvent Returns any onfullscreenchange onfullscreenchange: ((this: Element, ev: Event) => any) Type declaration (this: Element, ev: Event): any Parameters this: Element ev: Event Returns any onfullscreenerror onfullscreenerror: ((this: Element, ev: Event) => any) Type declaration (this: Element, ev: Event): any Parameters this: Element ev: Event Returns any ongotpointercapture ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) Type declaration (this: GlobalEventHandlers, ev: PointerEvent): any Parameters this: GlobalEventHandlers ev: PointerEvent Returns any oninput oninput: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Parameters this: GlobalEventHandlers ev: Event Returns any oninvalid oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Parameters this: GlobalEventHandlers ev: Event Returns any onkeydown onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) Type declaration (this: GlobalEventHandlers, ev: KeyboardEvent): any Fires when the user presses a key. Parameters this: GlobalEventHandlers ev: KeyboardEvent The keyboard event Returns any onkeypress onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) Type declaration (this: GlobalEventHandlers, ev: KeyboardEvent): any Fires when the user presses an alphanumeric key. Deprecated Parameters this: GlobalEventHandlers ev: KeyboardEvent The event. Returns any onkeyup onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) Type declaration (this: GlobalEventHandlers, ev: KeyboardEvent): any Fires when the user releases a key. Parameters this: GlobalEventHandlers ev: KeyboardEvent The keyboard event Returns any onload onload: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Fires immediately after the browser loads the object. Parameters this: GlobalEventHandlers ev: Event The event. Returns any onloadeddata onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Occurs when media data is loaded at the current playback position. Parameters this: GlobalEventHandlers ev: Event The event. Returns any onloadedmetadata onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Occurs when the duration and dimensions of the media have been determined. Parameters this: GlobalEventHandlers ev: Event The event. Returns any onloadstart onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Occurs when Internet Explorer begins looking for media data. Parameters this: GlobalEventHandlers ev: Event The event. Returns any onlostpointercapture onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) Type declaration (this: GlobalEventHandlers, ev: PointerEvent): any Parameters this: GlobalEventHandlers ev: PointerEvent Returns any onmousedown onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) Type declaration (this: GlobalEventHandlers, ev: MouseEvent): any Fires when the user clicks the object with either mouse button. Parameters this: GlobalEventHandlers ev: MouseEvent The mouse event. Returns any onmouseenter onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) Type declaration (this: GlobalEventHandlers, ev: MouseEvent): any Parameters this: GlobalEventHandlers ev: MouseEvent Returns any onmouseleave onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) Type declaration (this: GlobalEventHandlers, ev: MouseEvent): any Parameters this: GlobalEventHandlers ev: MouseEvent Returns any onmousemove onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) Type declaration (this: GlobalEventHandlers, ev: MouseEvent): any Fires when the user moves the mouse over the object. Parameters this: GlobalEventHandlers ev: MouseEvent The mouse event. Returns any onmouseout onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) Type declaration (this: GlobalEventHandlers, ev: MouseEvent): any Fires when the user moves the mouse pointer outside the boundaries of the object. Parameters this: GlobalEventHandlers ev: MouseEvent The mouse event. Returns any onmouseover onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) Type declaration (this: GlobalEventHandlers, ev: MouseEvent): any Fires when the user moves the mouse pointer into the object. Parameters this: GlobalEventHandlers ev: MouseEvent The mouse event. Returns any onmouseup onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) Type declaration (this: GlobalEventHandlers, ev: MouseEvent): any Fires when the user releases a mouse button while the mouse is over the object. Parameters this: GlobalEventHandlers ev: MouseEvent The mouse event. Returns any onpaste onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) Type declaration (this: DocumentAndElementEventHandlers, ev: ClipboardEvent): any Parameters this: DocumentAndElementEventHandlers ev: ClipboardEvent Returns any onpause onpause: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Occurs when playback is paused. Parameters this: GlobalEventHandlers ev: Event The event. Returns any onplay onplay: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Occurs when the play method is requested. Parameters this: GlobalEventHandlers ev: Event The event. Returns any onplaying onplaying: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Occurs when the audio or video has started playing. Parameters this: GlobalEventHandlers ev: Event The event. Returns any onpointercancel onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) Type declaration (this: GlobalEventHandlers, ev: PointerEvent): any Parameters this: GlobalEventHandlers ev: PointerEvent Returns any onpointerdown onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) Type declaration (this: GlobalEventHandlers, ev: PointerEvent): any Parameters this: GlobalEventHandlers ev: PointerEvent Returns any onpointerenter onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) Type declaration (this: GlobalEventHandlers, ev: PointerEvent): any Parameters this: GlobalEventHandlers ev: PointerEvent Returns any onpointerleave onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) Type declaration (this: GlobalEventHandlers, ev: PointerEvent): any Parameters this: GlobalEventHandlers ev: PointerEvent Returns any onpointermove onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) Type declaration (this: GlobalEventHandlers, ev: PointerEvent): any Parameters this: GlobalEventHandlers ev: PointerEvent Returns any onpointerout onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) Type declaration (this: GlobalEventHandlers, ev: PointerEvent): any Parameters this: GlobalEventHandlers ev: PointerEvent Returns any onpointerover onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) Type declaration (this: GlobalEventHandlers, ev: PointerEvent): any Parameters this: GlobalEventHandlers ev: PointerEvent Returns any onpointerup onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) Type declaration (this: GlobalEventHandlers, ev: PointerEvent): any Parameters this: GlobalEventHandlers ev: PointerEvent Returns any onprogress onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) Type declaration (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>): any Occurs to indicate progress while downloading media data. Parameters this: GlobalEventHandlers ev: ProgressEvent<EventTarget> The event. Returns any onratechange onratechange: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Occurs when the playback rate is increased or decreased. Parameters this: GlobalEventHandlers ev: Event The event. Returns any onreset onreset: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Fires when the user resets a form. Parameters this: GlobalEventHandlers ev: Event The event. Returns any onresize onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) Type declaration (this: GlobalEventHandlers, ev: UIEvent): any Parameters this: GlobalEventHandlers ev: UIEvent Returns any onscroll onscroll: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Fires when the user repositions the scroll box in the scroll bar on the object. Parameters this: GlobalEventHandlers ev: Event The event. Returns any onsecuritypolicyviolation onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) Type declaration (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent): any Parameters this: GlobalEventHandlers ev: SecurityPolicyViolationEvent Returns any onseeked onseeked: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Occurs when the seek operation ends. Parameters this: GlobalEventHandlers ev: Event The event. Returns any onseeking onseeking: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Occurs when the current playback position is moved. Parameters this: GlobalEventHandlers ev: Event The event. Returns any onselect onselect: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Fires when the current selection changes. Parameters this: GlobalEventHandlers ev: Event The event. Returns any onselectionchange onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Parameters this: GlobalEventHandlers ev: Event Returns any onselectstart onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Parameters this: GlobalEventHandlers ev: Event Returns any onslotchange onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Parameters this: GlobalEventHandlers ev: Event Returns any onstalled onstalled: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Occurs when the download has stopped. Parameters this: GlobalEventHandlers ev: Event The event. Returns any onsubmit onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) Type declaration (this: GlobalEventHandlers, ev: SubmitEvent): any Parameters this: GlobalEventHandlers ev: SubmitEvent Returns any onsuspend onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Occurs if the load operation has been intentionally halted. Parameters this: GlobalEventHandlers ev: Event The event. Returns any ontimeupdate ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Occurs to indicate the current playback position. Parameters this: GlobalEventHandlers ev: Event The event. Returns any ontoggle ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Parameters this: GlobalEventHandlers ev: Event Returns any Optional ontouchcancel ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) Type declaration (this: GlobalEventHandlers, ev: TouchEvent): any Parameters this: GlobalEventHandlers ev: TouchEvent Returns any Optional ontouchend ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) Type declaration (this: GlobalEventHandlers, ev: TouchEvent): any Parameters this: GlobalEventHandlers ev: TouchEvent Returns any Optional ontouchmove ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) Type declaration (this: GlobalEventHandlers, ev: TouchEvent): any Parameters this: GlobalEventHandlers ev: TouchEvent Returns any Optional ontouchstart ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) Type declaration (this: GlobalEventHandlers, ev: TouchEvent): any Parameters this: GlobalEventHandlers ev: TouchEvent Returns any ontransitioncancel ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) Type declaration (this: GlobalEventHandlers, ev: TransitionEvent): any Parameters this: GlobalEventHandlers ev: TransitionEvent Returns any ontransitionend ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) Type declaration (this: GlobalEventHandlers, ev: TransitionEvent): any Parameters this: GlobalEventHandlers ev: TransitionEvent Returns any ontransitionrun ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) Type declaration (this: GlobalEventHandlers, ev: TransitionEvent): any Parameters this: GlobalEventHandlers ev: TransitionEvent Returns any ontransitionstart ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) Type declaration (this: GlobalEventHandlers, ev: TransitionEvent): any Parameters this: GlobalEventHandlers ev: TransitionEvent Returns any onvolumechange onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Occurs when the volume is changed, or playback is muted or unmuted. Parameters this: GlobalEventHandlers ev: Event The event. Returns any onwaiting onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any Occurs when playback stops because the next frame of a video resource is not available. Parameters this: GlobalEventHandlers ev: Event The event. Returns any onwebkitanimationend onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any DeprecatedThis is a legacy alias of onanimationend. Parameters this: GlobalEventHandlers ev: Event Returns any onwebkitanimationiteration onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any DeprecatedThis is a legacy alias of onanimationiteration. Parameters this: GlobalEventHandlers ev: Event Returns any onwebkitanimationstart onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any DeprecatedThis is a legacy alias of onanimationstart. Parameters this: GlobalEventHandlers ev: Event Returns any onwebkittransitionend onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) Type declaration (this: GlobalEventHandlers, ev: Event): any DeprecatedThis is a legacy alias of ontransitionend. Parameters this: GlobalEventHandlers ev: Event Returns any onwheel onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) Type declaration (this: GlobalEventHandlers, ev: WheelEvent): any Parameters this: GlobalEventHandlers ev: WheelEvent Returns any outerHTML outerHTML: string outerText outerText: string Readonly ownerDocument ownerDocument: Document Readonly parentElement parentElement: HTMLElement Returns the parent element. Readonly parentNode parentNode: ParentNode Returns the parent. Readonly part part: DOMTokenList Readonly prefix prefix: string Returns the namespace prefix. Readonly previousElementSibling previousElementSibling: Element Returns the first preceding sibling that is an element, and null otherwise. Readonly previousSibling previousSibling: ChildNode Returns the previous sibling. role role: string Readonly scrollHeight scrollHeight: number scrollLeft scrollLeft: number scrollTop scrollTop: number Readonly scrollWidth scrollWidth: number Readonly shadowRoot shadowRoot: ShadowRoot Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise. slot slot: string Returns the value of element's slot content attribute. Can be set to change it. spellcheck spellcheck: boolean Readonly style style: CSSStyleDeclaration tabIndex tabIndex: number Readonly tagName tagName: string Returns the HTML-uppercased qualified name. textContent textContent: string title title: string translate translate: boolean type type: string Sets or retrieves the content type of the resource designated by the value attribute. Deprecated value value: string Sets or retrieves the value of an input parameter for an element. Deprecated valueType valueType: string Sets or retrieves the data type of the value attribute. Deprecated Methods addEventListener addEventListener<K>(type: K, listener: ((this: HTMLParamElement, ev: HTMLElementEventMap[K]) => any), options?: boolean | AddEventListenerOptions): void Type Parameters K extends keyof HTMLElementEventMap Parameters type: K listener: ((this: HTMLParamElement, ev: HTMLElementEventMap[K]) => any) (this: HTMLParamElement, ev: HTMLElementEventMap[K]): any Parameters this: HTMLParamElement ev: HTMLElementEventMap[K] Returns any Optional options: boolean | AddEventListenerOptions Returns void addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void Parameters type: string listener: EventListenerOrEventListenerObject Optional options: boolean | AddEventListenerOptions Returns void after after(...nodes: (string | Node)[]): void Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes. Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. Parameters Rest ...nodes: (string | Node)[] Returns void animate animate(keyframes: Keyframe[] | PropertyIndexedKeyframes, options?: number | KeyframeAnimationOptions): Animation Parameters keyframes: Keyframe[] | PropertyIndexedKeyframes Optional options: number | KeyframeAnimationOptions Returns Animation append append(...nodes: (string | Node)[]): void Inserts nodes after the last child of node, while replacing strings in nodes with equivalent Text nodes. Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. Parameters Rest ...nodes: (string | Node)[] Returns void appendChild appendChild<T>(node: T): T Type Parameters T extends Node<T> Parameters node: T Returns T attachInternals attachInternals(): ElementInternals Returns ElementInternals attachShadow attachShadow(init: ShadowRootInit): ShadowRoot Creates a shadow root for element and returns it. Parameters init: ShadowRootInit Returns ShadowRoot before before(...nodes: (string | Node)[]): void Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes. Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. Parameters Rest ...nodes: (string | Node)[] Returns void blur blur(): void Returns void click click(): void Returns void cloneNode cloneNode(deep?: boolean): Node Returns a copy of node. If deep is true, the copy also includes the node's descendants. Parameters Optional deep: boolean Returns Node closest closest<K>(selector: K): HTMLElementTagNameMap[K] Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise. Type Parameters K extends keyof HTMLElementTagNameMap Parameters selector: K Returns HTMLElementTagNameMap[K] closest<K>(selector: K): SVGElementTagNameMap[K] Type Parameters K extends keyof SVGElementTagNameMap Parameters selector: K Returns SVGElementTagNameMap[K] closest<E>(selectors: string): E Type Parameters E extends Element<E> = Element Parameters selectors: string Returns E compareDocumentPosition compareDocumentPosition(other: Node): number Returns a bitmask indicating the position of other relative to node. Parameters other: Node Returns number contains contains(other: Node): boolean Returns true if other is an inclusive descendant of node, and false otherwise. Parameters other: Node Returns boolean dispatchEvent dispatchEvent(event: Event): boolean Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. Parameters event: Event Returns boolean focus focus(options?: FocusOptions): void Parameters Optional options: FocusOptions Returns void getAnimations getAnimations(options?: GetAnimationsOptions): Animation[] Parameters Optional options: GetAnimationsOptions Returns Animation[] getAttribute getAttribute(qualifiedName: string): string Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise. Parameters qualifiedName: string Returns string getAttributeNS getAttributeNS(namespace: string, localName: string): string Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise. Parameters namespace: string localName: string Returns string getAttributeNames getAttributeNames(): string[] Returns the qualified names of all element's attributes. Can contain duplicates. Returns string[] getAttributeNode getAttributeNode(qualifiedName: string): Attr Parameters qualifiedName: string Returns Attr getAttributeNodeNS getAttributeNodeNS(namespace: string, localName: string): Attr Parameters namespace: string localName: string Returns Attr getBoundingClientRect getBoundingClientRect(): DOMRect Returns DOMRect getClientRects getClientRects(): DOMRectList Returns DOMRectList getElementsByClassName getElementsByClassName(classNames: string): HTMLCollectionOf<Element> Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes. Parameters classNames: string Returns HTMLCollectionOf<Element> getElementsByTagName getElementsByTagName<K>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]> Type Parameters K extends keyof HTMLElementTagNameMap Parameters qualifiedName: K Returns HTMLCollectionOf<HTMLElementTagNameMap[K]> getElementsByTagName<K>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]> Type Parameters K extends keyof SVGElementTagNameMap Parameters qualifiedName: K Returns HTMLCollectionOf<SVGElementTagNameMap[K]> getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element> Parameters qualifiedName: string Returns HTMLCollectionOf<Element> getElementsByTagNameNS getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement> Parameters namespaceURI: "http://www.w3.org/1999/xhtml" localName: string Returns HTMLCollectionOf<HTMLElement> getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement> Parameters namespaceURI: "http://www.w3.org/2000/svg" localName: string Returns HTMLCollectionOf<SVGElement> getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element> Parameters namespace: string localName: string Returns HTMLCollectionOf<Element> getRootNode getRootNode(options?: GetRootNodeOptions): Node Returns node's root. Parameters Optional options: GetRootNodeOptions Returns Node hasAttribute hasAttribute(qualifiedName: string): boolean Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise. Parameters qualifiedName: string Returns boolean hasAttributeNS hasAttributeNS(namespace: string, localName: string): boolean Returns true if element has an attribute whose namespace is namespace and local name is localName. Parameters namespace: string localName: string Returns boolean hasAttributes hasAttributes(): boolean Returns true if element has attributes, and false otherwise. Returns boolean hasChildNodes hasChildNodes(): boolean Returns whether node has children. Returns boolean hasPointerCapture hasPointerCapture(pointerId: number): boolean Parameters pointerId: number Returns boolean insertAdjacentElement insertAdjacentElement(where: InsertPosition, element: Element): Element Parameters where: InsertPosition element: Element Returns Element insertAdjacentHTML insertAdjacentHTML(position: InsertPosition, text: string): void Parameters position: InsertPosition text: string Returns void insertAdjacentText insertAdjacentText(where: InsertPosition, data: string): void Parameters where: InsertPosition data: string Returns void insertBefore insertBefore<T>(node: T, child: Node): T Type Parameters T extends Node<T> Parameters node: T child: Node Returns T isDefaultNamespace isDefaultNamespace(namespace: string): boolean Parameters namespace: string Returns boolean isEqualNode isEqualNode(otherNode: Node): boolean Returns whether node and otherNode have the same properties. Parameters otherNode: Node Returns boolean isSameNode isSameNode(otherNode: Node): boolean Parameters otherNode: Node Returns boolean lookupNamespaceURI lookupNamespaceURI(prefix: string): string Parameters prefix: string Returns string lookupPrefix lookupPrefix(namespace: string): string Parameters namespace: string Returns string matches matches(selectors: string): boolean Returns true if matching selectors against element's root yields element, and false otherwise. Parameters selectors: string Returns boolean normalize normalize(): void Removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes. Returns void prepend prepend(...nodes: (string | Node)[]): void Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes. Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. Parameters Rest ...nodes: (string | Node)[] Returns void querySelector querySelector<K>(selectors: K): HTMLElementTagNameMap[K] Returns the first element that is a descendant of node that matches selectors. Type Parameters K extends keyof HTMLElementTagNameMap Parameters selectors: K Returns HTMLElementTagNameMap[K] querySelector<K>(selectors: K): SVGElementTagNameMap[K] Type Parameters K extends keyof SVGElementTagNameMap Parameters selectors: K Returns SVGElementTagNameMap[K] querySelector<E>(selectors: string): E Type Parameters E extends Element<E> = Element Parameters selectors: string Returns E querySelectorAll querySelectorAll<K>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]> Returns all element descendants of node that match selectors. Type Parameters K extends keyof HTMLElementTagNameMap Parameters selectors: K Returns NodeListOf<HTMLElementTagNameMap[K]> querySelectorAll<K>(selectors: K): NodeListOf<SVGElementTagNameMap[K]> Type Parameters K extends keyof SVGElementTagNameMap Parameters selectors: K Returns NodeListOf<SVGElementTagNameMap[K]> querySelectorAll<E>(selectors: string): NodeListOf<E> Type Parameters E extends Element<E> = Element Parameters selectors: string Returns NodeListOf<E> releasePointerCapture releasePointerCapture(pointerId: number): void Parameters pointerId: number Returns void remove remove(): void Removes node. Returns void removeAttribute removeAttribute(qualifiedName: string): void Removes element's first attribute whose qualified name is qualifiedName. Parameters qualifiedName: string Returns void removeAttributeNS removeAttributeNS(namespace: string, localName: string): void Removes element's attribute whose namespace is namespace and local name is localName. Parameters namespace: string localName: string Returns void removeAttributeNode removeAttributeNode(attr: Attr): Attr Parameters attr: Attr Returns Attr removeChild removeChild<T>(child: T): T Type Parameters T extends Node<T> Parameters child: T Returns T removeEventListener removeEventListener<K>(type: K, listener: ((this: HTMLParamElement, ev: HTMLElementEventMap[K]) => any), options?: boolean | EventListenerOptions): void Type Parameters K extends keyof HTMLElementEventMap Parameters type: K listener: ((this: HTMLParamElement, ev: HTMLElementEventMap[K]) => any) (this: HTMLParamElement, ev: HTMLElementEventMap[K]): any Parameters this: HTMLParamElement ev: HTMLElementEventMap[K] Returns any Optional options: boolean | EventListenerOptions Returns void removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void Parameters type: string listener: EventListenerOrEventListenerObject Optional options: boolean | EventListenerOptions Returns void replaceChild replaceChild<T>(node: Node, child: T): T Type Parameters T extends Node<T> Parameters node: Node child: T Returns T replaceChildren replaceChildren(...nodes: (string | Node)[]): void Replace all children of node with nodes, while replacing strings in nodes with equivalent Text nodes. Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. Parameters Rest ...nodes: (string | Node)[] Returns void replaceWith replaceWith(...nodes: (string | Node)[]): void Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes. Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. Parameters Rest ...nodes: (string | Node)[] Returns void requestFullscreen requestFullscreen(options?: FullscreenOptions): Promise<void> Displays element fullscreen and resolves promise when done. When supplied, options's navigationUI member indicates whether showing navigation UI while in fullscreen is preferred or not. If set to "show", navigation simplicity is preferred over screen space, and if set to "hide", more screen space is preferred. User agents are always free to honor user preference over the application's. The default value "auto" indicates no application preference. Parameters Optional options: FullscreenOptions Returns Promise<void> requestPointerLock requestPointerLock(): void Returns void scroll scroll(options?: ScrollToOptions): void Parameters Optional options: ScrollToOptions Returns void scroll(x: number, y: number): void Parameters x: number y: number Returns void scrollBy scrollBy(options?: ScrollToOptions): void Parameters Optional options: ScrollToOptions Returns void scrollBy(x: number, y: number): void Parameters x: number y: number Returns void scrollIntoView scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void Parameters Optional arg: boolean | ScrollIntoViewOptions Returns void scrollTo scrollTo(options?: ScrollToOptions): void Parameters Optional options: ScrollToOptions Returns void scrollTo(x: number, y: number): void Parameters x: number y: number Returns void setAttribute setAttribute(qualifiedName: string, value: string): void Sets the value of element's first attribute whose qualified name is qualifiedName to value. Parameters qualifiedName: string value: string Returns void setAttributeNS setAttributeNS(namespace: string, qualifiedName: string, value: string): void Sets the value of element's attribute whose namespace is namespace and local name is localName to value. Parameters namespace: string qualifiedName: string value: string Returns void setAttributeNode setAttributeNode(attr: Attr): Attr Parameters attr: Attr Returns Attr setAttributeNodeNS setAttributeNodeNS(attr: Attr): Attr Parameters attr: Attr Returns Attr setPointerCapture setPointerCapture(pointerId: number): void Parameters pointerId: number Returns void toggleAttribute toggleAttribute(qualifiedName: string, force?: boolean): boolean If force is not given, "toggles" qualifiedName, removing it if it is present and adding it if it is not present. If force is true, adds qualifiedName. If force is false, removes qualifiedName. Returns true if qualifiedName is now present, and false otherwise. Parameters qualifiedName: string Optional force: boolean Returns boolean webkitMatchesSelector webkitMatchesSelector(selectors: string): boolean DeprecatedThis is a legacy alias of matches. Parameters selectors: string Returns boolean Settings Member Visibility Protected Private Inherited External ThemeOSLightDark Modules Hexo Post Parser a_index buildPost <internal> dateMapper <internal> generatePostId globals gulp/utils <internal> index markdown/toHtml node/JSON node/JSON node/array-unique node/color <internal> node/debug <internal> node/escape-string-regexp node/filemanager <internal> "fs" access appendFile chmod chown close constants copyFile exists fchmod fchown fdatasync fstat fsync ftruncate futimes lchmod lchown link lstat lutimes mkdir mkdtemp open opendir promises read readFile readdir readlink readv realpath realpathSync rename rm rmdir stat symlink truncate unlink utimes write writeFile writev "node:stream/consumers" "node:stream/promises" Bluebird EventEmitter internal finished pipeline node/jsdom <internal> Cookie CookieJar node/md5-file node/sanitize-filename node/slugify <internal> node/slugify/replacements node/transliterate node/transliterate/replacements node/truncate-utf8-bytes node/utils node/uuid parsePermalink parsePost shortcodes/codeblock shortcodes/css shortcodes/extractText shortcodes/hyperlinks-md2html shortcodes/include shortcodes/script shortcodes/time shortcodes/youtube types types/_config <internal> types/parseOptions types/postAuthor types/postMap types/postMeta utils/string HTMLParamElement ATTRIBUTE_NODE CDATA_SECTION_NODE COMMENT_NODE DOCUMENT_FRAGMENT_NODE DOCUMENT_NODE DOCUMENT_POSITION_CONTAINED_BY DOCUMENT_POSITION_CONTAINS DOCUMENT_POSITION_DISCONNECTED DOCUMENT_POSITION_FOLLOWING DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC DOCUMENT_POSITION_PRECEDING DOCUMENT_TYPE_NODE ELEMENT_NODE ENTITY_NODE ENTITY_REFERENCE_NODE NOTATION_NODE PROCESSING_INSTRUCTION_NODE TEXT_NODE accessKey accessKeyLabel ariaAtomic ariaAutoComplete ariaBusy ariaChecked ariaColCount ariaColIndex ariaColIndexText ariaColSpan ariaCurrent ariaDisabled ariaExpanded ariaHasPopup ariaHidden ariaInvalid ariaKeyShortcuts ariaLabel ariaLevel ariaLive ariaModal ariaMultiLine ariaMultiSelectable ariaOrientation ariaPlaceholder ariaPosInSet ariaPressed ariaReadOnly ariaRequired ariaRoleDescription ariaRowCount ariaRowIndex ariaRowIndexText ariaRowSpan ariaSelected ariaSetSize ariaSort ariaValueMax ariaValueMin ariaValueNow ariaValueText assignedSlot attributes autocapitalize autofocus baseURI childElementCount childNodes children classList className clientHeight clientLeft clientTop clientWidth contentEditable dataset dir draggable enterKeyHint firstChild firstElementChild hidden id inert innerHTML innerText inputMode isConnected isContentEditable lang lastChild lastElementChild localName name namespaceURI nextElementSibling nextSibling nodeName nodeType nodeValue nonce? offsetHeight offsetLeft offsetParent offsetTop offsetWidth onabort onanimationcancel onanimationend onanimationiteration onanimationstart onauxclick onbeforeinput onblur oncancel oncanplay oncanplaythrough onchange onclick onclose oncontextmenu oncopy oncuechange oncut ondblclick ondrag ondragend ondragenter ondragleave ondragover ondragstart ondrop ondurationchange onemptied onended onerror onfocus onformdata onfullscreenchange onfullscreenerror ongotpointercapture oninput oninvalid onkeydown onkeypress onkeyup onload onloadeddata onloadedmetadata onloadstart onlostpointercapture onmousedown onmouseenter onmouseleave onmousemove onmouseout onmouseover onmouseup onpaste onpause onplay onplaying onpointercancel onpointerdown onpointerenter onpointerleave onpointermove onpointerout onpointerover onpointerup onprogress onratechange onreset onresize onscroll onsecuritypolicyviolation onseeked onseeking onselect onselectionchange onselectstart onslotchange onstalled onsubmit onsuspend ontimeupdate ontoggle ontouchcancel? ontouchend? ontouchmove? ontouchstart? ontransitioncancel ontransitionend ontransitionrun ontransitionstart onvolumechange onwaiting onwebkitanimationend onwebkitanimationiteration onwebkitanimationstart onwebkittransitionend onwheel outerHTML outerText ownerDocument parentElement parentNode part prefix previousElementSibling previousSibling role scrollHeight scrollLeft scrollTop scrollWidth shadowRoot slot spellcheck style tabIndex tagName textContent title translate type value valueType addEventListener after animate append appendChild attachInternals attachShadow before blur click cloneNode closest compareDocumentPosition contains dispatchEvent focus getAnimations getAttribute getAttributeNS getAttributeNames getAttributeNode getAttributeNodeNS getBoundingClientRect getClientRects getElementsByClassName getElementsByTagName getElementsByTagNameNS getRootNode hasAttribute hasAttributeNS hasAttributes hasChildNodes hasPointerCapture insertAdjacentElement insertAdjacentHTML insertAdjacentText insertBefore isDefaultNamespace isEqualNode isSameNode lookupNamespaceURI lookupPrefix matches normalize prepend querySelector querySelectorAll releasePointerCapture remove removeAttribute removeAttributeNS removeAttributeNode removeChild removeEventListener replaceChild replaceChildren replaceWith requestFullscreen requestPointerLock scroll scrollBy scrollIntoView scrollTo setAttribute setAttributeNS setAttributeNode setAttributeNodeNS setPointerCapture toggleAttribute webkitMatchesSelector
Readonly
node is a CDATASection node.
node is a Comment node.
node is a DocumentFragment node.
node is a document.
Set when other is a descendant of node.
Set when other is an ancestor of node.
Set when node and other are not in the same tree.
Set when other is following node.
Set when other is preceding node.
node is a doctype.
node is an element.
node is a ProcessingInstruction node.
node is a Text node.
Returns node's node document's document base URL.
Returns the children.
Returns the child elements.
Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.
Returns the value of element's class content attribute. Can be set to change it.
Returns the first child.
Returns the first child that is an element, and null otherwise.
Returns the value of element's id content attribute. Can be set to change it.
Returns true if node is connected and false otherwise.
Returns the last child.
Returns the last child that is an element, and null otherwise.
Returns the local name.
Sets or retrieves the name of an input parameter for an element.
Returns the namespace.
Returns the first following sibling that is an element, and null otherwise.
Returns the next sibling.
Returns a string appropriate for the type of node.
Returns the type of node.
Optional
Fires when the user aborts the download.
The event.
Fires when the object loses the input focus.
The focus event.
Occurs when playback is possible, but would require further buffering.
Fires when the contents of the object or selection have changed.
Fires when the user clicks the left mouse button on the object
The mouse event.
Fires when the user clicks the right mouse button in the client area, opening the context menu.
Fires when the user double-clicks the object.
Fires on the source object continuously during a drag operation.
Fires on the source object when the user releases the mouse at the close of a drag operation.
Fires on the target element when the user drags the object to a valid drop target.
The drag event.
Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.
Fires on the target element continuously while the user drags the object over a valid drop target.
Fires on the source object when the user starts to drag a text selection or selected object.
Occurs when the duration attribute is updated.
Occurs when the media element is reset to its initial state.
Occurs when the end of playback is reached.
The event
Fires when an error occurs during object loading.
Fires when the object receives focus.
Fires when the user presses a key.
The keyboard event
Fires when the user presses an alphanumeric key.
Fires when the user releases a key.
Fires immediately after the browser loads the object.
Occurs when media data is loaded at the current playback position.
Occurs when the duration and dimensions of the media have been determined.
Occurs when Internet Explorer begins looking for media data.
Fires when the user clicks the object with either mouse button.
Fires when the user moves the mouse over the object.
Fires when the user moves the mouse pointer outside the boundaries of the object.
Fires when the user moves the mouse pointer into the object.
Fires when the user releases a mouse button while the mouse is over the object.
Occurs when playback is paused.
Occurs when the play method is requested.
Occurs when the audio or video has started playing.
Occurs to indicate progress while downloading media data.
Occurs when the playback rate is increased or decreased.
Fires when the user resets a form.
Fires when the user repositions the scroll box in the scroll bar on the object.
Occurs when the seek operation ends.
Occurs when the current playback position is moved.
Fires when the current selection changes.
Occurs when the download has stopped.
Occurs if the load operation has been intentionally halted.
Occurs to indicate the current playback position.
Occurs when the volume is changed, or playback is muted or unmuted.
Occurs when playback stops because the next frame of a video resource is not available.
This is a legacy alias of onanimationend.
onanimationend
This is a legacy alias of onanimationiteration.
onanimationiteration
This is a legacy alias of onanimationstart.
onanimationstart
This is a legacy alias of ontransitionend.
ontransitionend
Returns the parent element.
Returns the parent.
Returns the namespace prefix.
Returns the first preceding sibling that is an element, and null otherwise.
Returns the previous sibling.
Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.
Returns the value of element's slot content attribute. Can be set to change it.
Returns the HTML-uppercased qualified name.
Sets or retrieves the content type of the resource designated by the value attribute.
Sets or retrieves the value of an input parameter for an element.
Sets or retrieves the data type of the value attribute.
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.
Rest
Inserts nodes after the last child of node, while replacing strings in nodes with equivalent Text nodes.
Creates a shadow root for element and returns it.
Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes.
Returns a copy of node. If deep is true, the copy also includes the node's descendants.
Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise.
Returns a bitmask indicating the position of other relative to node.
Returns true if other is an inclusive descendant of node, and false otherwise.
Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise.
Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise.
Returns the qualified names of all element's attributes. Can contain duplicates.
Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes.
Returns node's root.
Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise.
Returns true if element has an attribute whose namespace is namespace and local name is localName.
Returns true if element has attributes, and false otherwise.
Returns whether node has children.
Returns whether node and otherNode have the same properties.
Returns true if matching selectors against element's root yields element, and false otherwise.
Removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes.
Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.
Returns the first element that is a descendant of node that matches selectors.
Returns all element descendants of node that match selectors.
Removes node.
Removes element's first attribute whose qualified name is qualifiedName.
Removes element's attribute whose namespace is namespace and local name is localName.
Replace all children of node with nodes, while replacing strings in nodes with equivalent Text nodes.
Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes.
Displays element fullscreen and resolves promise when done.
When supplied, options's navigationUI member indicates whether showing navigation UI while in fullscreen is preferred or not. If set to "show", navigation simplicity is preferred over screen space, and if set to "hide", more screen space is preferred. User agents are always free to honor user preference over the application's. The default value "auto" indicates no application preference.
Sets the value of element's first attribute whose qualified name is qualifiedName to value.
Sets the value of element's attribute whose namespace is namespace and local name is localName to value.
If force is not given, "toggles" qualifiedName, removing it if it is present and adding it if it is not present. If force is true, adds qualifiedName. If force is false, removes qualifiedName.
Returns true if qualifiedName is now present, and false otherwise.
This is a legacy alias of matches.
matches
Provides special properties (beyond those of the regular HTMLElement object interface it inherits) for manipulating elements, representing a pair of a key and a value that acts as a parameter for an