Skip to content

@ralphschuler.webgl shader factory.<internal>.Document

github-actions edited this page Nov 26, 2023 · 1 revision

Interface: Document

@ralphschuler/webgl-shader-factory.<internal>.Document

Any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree.

MDN Reference

Hierarchy

Table of contents

Properties

Accessors

Methods

Properties

ATTRIBUTE_NODE

Readonly ATTRIBUTE_NODE: 2

Inherited from

ParentNode.ATTRIBUTE_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16205


CDATA_SECTION_NODE

Readonly CDATA_SECTION_NODE: 4

node is a CDATASection node.

Inherited from

ParentNode.CDATA_SECTION_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16209


COMMENT_NODE

Readonly COMMENT_NODE: 8

node is a Comment node.

Inherited from

ParentNode.COMMENT_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16215


DOCUMENT_FRAGMENT_NODE

Readonly DOCUMENT_FRAGMENT_NODE: 11

node is a DocumentFragment node.

Inherited from

ParentNode.DOCUMENT_FRAGMENT_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16221


DOCUMENT_NODE

Readonly DOCUMENT_NODE: 9

node is a document.

Inherited from

ParentNode.DOCUMENT_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16217


DOCUMENT_POSITION_CONTAINED_BY

Readonly DOCUMENT_POSITION_CONTAINED_BY: 16

Set when other is a descendant of node.

Inherited from

ParentNode.DOCUMENT_POSITION_CONTAINED_BY

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16232


DOCUMENT_POSITION_CONTAINS

Readonly DOCUMENT_POSITION_CONTAINS: 8

Set when other is an ancestor of node.

Inherited from

ParentNode.DOCUMENT_POSITION_CONTAINS

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16230


DOCUMENT_POSITION_DISCONNECTED

Readonly DOCUMENT_POSITION_DISCONNECTED: 1

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

Inherited from

ParentNode.DOCUMENT_POSITION_DISCONNECTED

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16224


DOCUMENT_POSITION_FOLLOWING

Readonly DOCUMENT_POSITION_FOLLOWING: 4

Set when other is following node.

Inherited from

ParentNode.DOCUMENT_POSITION_FOLLOWING

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16228


DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC

Readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32

Inherited from

ParentNode.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16233


DOCUMENT_POSITION_PRECEDING

Readonly DOCUMENT_POSITION_PRECEDING: 2

Set when other is preceding node.

Inherited from

ParentNode.DOCUMENT_POSITION_PRECEDING

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16226


DOCUMENT_TYPE_NODE

Readonly DOCUMENT_TYPE_NODE: 10

node is a doctype.

Inherited from

ParentNode.DOCUMENT_TYPE_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16219


ELEMENT_NODE

Readonly ELEMENT_NODE: 1

node is an element.

Inherited from

ParentNode.ELEMENT_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16204


ENTITY_NODE

Readonly ENTITY_NODE: 6

Inherited from

ParentNode.ENTITY_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16211


ENTITY_REFERENCE_NODE

Readonly ENTITY_REFERENCE_NODE: 5

Inherited from

ParentNode.ENTITY_REFERENCE_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16210


NOTATION_NODE

Readonly NOTATION_NODE: 12

Inherited from

ParentNode.NOTATION_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16222


PROCESSING_INSTRUCTION_NODE

Readonly PROCESSING_INSTRUCTION_NODE: 7

node is a ProcessingInstruction node.

Inherited from

ParentNode.PROCESSING_INSTRUCTION_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16213


TEXT_NODE

Readonly TEXT_NODE: 3

node is a Text node.

Inherited from

ParentNode.TEXT_NODE

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16207


URL

Readonly URL: string

Sets or gets the URL for the current document.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6737


activeElement

Readonly activeElement: null | Element

Returns the deepest element in the document through which or to which key events are being routed. This is, roughly speaking, the focused element in the document.

For the purposes of this API, when a child browsing context is focused, its container is focused in the parent browsing context. For example, if the user moves the focus to a text control in an iframe, the iframe is the element returned by the activeElement API in the iframe's node document.

Similarly, when the focused element is in a different node tree than documentOrShadowRoot, the element returned will be the host that's located in the same node tree as documentOrShadowRoot if documentOrShadowRoot is a shadow-including inclusive ancestor of the focused element, and null if not.

MDN Reference

Inherited from

DocumentOrShadowRoot.activeElement

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7405


adoptedStyleSheets

adoptedStyleSheets: CSSStyleSheet[]

MDN Reference

Inherited from

DocumentOrShadowRoot.adoptedStyleSheets

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7407


alinkColor

alinkColor: string

Sets or gets the color of all active links in the document.

Deprecated

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6744


all

Readonly all: HTMLAllCollection

Returns a reference to the collection of elements contained by the object.

Deprecated

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6751


anchors

Readonly anchors: HTMLCollectionOf<HTMLAnchorElement>

Retrieves a collection of all a objects that have a name and/or id property. Objects in this collection are in HTML source order.

Deprecated

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6758


applets

Readonly applets: HTMLCollection

Retrieves a collection of all applet objects in the document.

Deprecated

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6765


baseURI

Readonly baseURI: string

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

MDN Reference

Inherited from

ParentNode.baseURI

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16074


bgColor

bgColor: string

Deprecated. Sets or retrieves a value that indicates the background color behind the object.

Deprecated

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6772


body

body: HTMLElement

Specifies the beginning and end of the document body.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6778


characterSet

Readonly characterSet: string

Returns document's encoding.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6784


charset

Readonly charset: string

Gets or sets the character set used to encode the object.

Deprecated

This is a legacy alias of characterSet.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6791


childElementCount

Readonly childElementCount: number

MDN Reference

Inherited from

ParentNode.childElementCount

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16763


childNodes

Readonly childNodes: NodeListOf<ChildNode>

Returns the children.

MDN Reference

Inherited from

ParentNode.childNodes

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16080


children

Readonly children: HTMLCollection

Returns the child elements.

MDN Reference

Inherited from

ParentNode.children

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16769


compatMode

Readonly compatMode: string

Gets a value that indicates whether standards-compliant mode is switched on for the object.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6797


contentType

Readonly contentType: string

Returns document's content type.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6803


cookie

cookie: string

Returns the HTTP cookies that apply to the Document. If there are no cookies or cookies can't be applied to this resource, the empty string will be returned.

Can be set, to add a new cookie to the element's set of HTTP cookies.

If the contents are sandboxed into a unique origin (e.g. in an iframe with the sandbox attribute), a "SecurityError" DOMException will be thrown on getting and setting.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6813


currentScript

Readonly currentScript: null | HTMLOrSVGScriptElement

Returns the script element, or the SVG script element, that is currently executing, as long as the element represents a classic script. In the case of reentrant script execution, returns the one that most recently started executing amongst those that have not yet finished executing.

Returns null if the Document is not currently executing a script or SVG script element (e.g., because the running script is an event handler, or a timeout), or if the currently executing script or SVG script element represents a module script.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6821


defaultView

Readonly defaultView: null | Window & typeof globalThis

Returns the Window object of the active document.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6827


designMode

designMode: string

Sets or gets a value that indicates whether the document can be edited.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6833


dir

dir: string

Sets or retrieves a value that indicates the reading order of the object.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6839


doctype

Readonly doctype: null | DocumentType

Gets an object representing the document type declaration associated with the current document.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6845


documentElement

Readonly documentElement: HTMLElement

Gets a reference to the root node of the document.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6851


documentURI

Readonly documentURI: string

Returns document's URL.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6857


domain

domain: string

Sets or gets the security domain of the document.

Deprecated

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6864


embeds

Readonly embeds: HTMLCollectionOf<HTMLEmbedElement>

Retrieves a collection of all embed objects in the document.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6870


fgColor

fgColor: string

Sets or gets the foreground (text) color of the document.

Deprecated

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6877


firstChild

Readonly firstChild: null | ChildNode

Returns the first child.

MDN Reference

Inherited from

ParentNode.firstChild

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16086


firstElementChild

Readonly firstElementChild: null | Element

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

MDN Reference

Inherited from

ParentNode.firstElementChild

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16775


fonts

Readonly fonts: FontFaceSet

MDN Reference

Inherited from

FontFaceSource.fonts

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8602


forms

Readonly forms: HTMLCollectionOf<HTMLFormElement>

Retrieves a collection, in source order, of all form objects in the document.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6883


fullscreen

Readonly fullscreen: boolean

Deprecated

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6889


fullscreenElement

Readonly fullscreenElement: null | Element

Returns document's fullscreen element.

MDN Reference

Inherited from

DocumentOrShadowRoot.fullscreenElement

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7413


fullscreenEnabled

Readonly fullscreenEnabled: boolean

Returns true if document has the ability to display elements fullscreen and fullscreen is supported, or false otherwise.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6895


head

Readonly head: HTMLHeadElement

Returns the head element.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6901


hidden

Readonly hidden: boolean

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6903


images

Readonly images: HTMLCollectionOf<HTMLImageElement>

Retrieves a collection, in source order, of img objects in the document.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6909


implementation

Readonly implementation: DOMImplementation

Gets the implementation object of the current document.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6915


inputEncoding

Readonly inputEncoding: string

Returns the character encoding used to create the webpage that is loaded into the document object.

Deprecated

This is a legacy alias of characterSet.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6922


isConnected

Readonly isConnected: boolean

Returns true if node is connected and false otherwise.

MDN Reference

Inherited from

ParentNode.isConnected

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16092


lastChild

Readonly lastChild: null | ChildNode

Returns the last child.

MDN Reference

Inherited from

ParentNode.lastChild

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16098


lastElementChild

Readonly lastElementChild: null | Element

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

MDN Reference

Inherited from

ParentNode.lastElementChild

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16781


lastModified

Readonly lastModified: string

Gets the date that the page was last modified, if the page supplies one.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6928


linkColor

linkColor: string

Sets or gets the color of the document links.

Deprecated

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6935


links

Readonly links: HTMLCollectionOf<HTMLAnchorElement | HTMLAreaElement>

Retrieves a collection of all a objects that specify the href property and all area objects in the document.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6941


nextSibling

Readonly nextSibling: null | ChildNode

Returns the next sibling.

MDN Reference

Inherited from

ParentNode.nextSibling

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16104


nodeName

Readonly nodeName: string

Returns a string appropriate for the type of node.

MDN Reference

Inherited from

ParentNode.nodeName

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16110


nodeType

Readonly nodeType: number

Returns the type of node.

MDN Reference

Inherited from

ParentNode.nodeType

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16116


nodeValue

nodeValue: null | string

MDN Reference

Inherited from

ParentNode.nodeValue

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16118


onabort

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

Fires when the user aborts the download.

Param

The event.

MDN Reference

Inherited from

GlobalEventHandlers.onabort

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8948


onanimationcancel

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

MDN Reference

Inherited from

GlobalEventHandlers.onanimationcancel

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8950


onanimationend

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

MDN Reference

Inherited from

GlobalEventHandlers.onanimationend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8952


onanimationiteration

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

MDN Reference

Inherited from

GlobalEventHandlers.onanimationiteration

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8954


onanimationstart

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

MDN Reference

Inherited from

GlobalEventHandlers.onanimationstart

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8956


onauxclick

onauxclick: null | (this: GlobalEventHandlers, ev: MouseEvent) => any

MDN Reference

Inherited from

GlobalEventHandlers.onauxclick

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8958


onbeforeinput

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

MDN Reference

Inherited from

GlobalEventHandlers.onbeforeinput

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8960


onblur

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

Fires when the object loses the input focus.

Param

The focus event.

MDN Reference

Inherited from

GlobalEventHandlers.onblur

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8967


oncancel

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

MDN Reference

Inherited from

GlobalEventHandlers.oncancel

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8969


oncanplay

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

Occurs when playback is possible, but would require further buffering.

Param

The event.

MDN Reference

Inherited from

GlobalEventHandlers.oncanplay

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8976


oncanplaythrough

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

MDN Reference

Inherited from

GlobalEventHandlers.oncanplaythrough

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8978


onchange

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

Fires when the contents of the object or selection have changed.

Param

The event.

MDN Reference

Inherited from

GlobalEventHandlers.onchange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8985


onclick

onclick: null | (this: GlobalEventHandlers, ev: MouseEvent) => any

Fires when the user clicks the left mouse button on the object

Param

The mouse event.

MDN Reference

Inherited from

GlobalEventHandlers.onclick

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8992


onclose

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

MDN Reference

Inherited from

GlobalEventHandlers.onclose

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8994


oncontextmenu

oncontextmenu: null | (this: GlobalEventHandlers, ev: MouseEvent) => any

Fires when the user clicks the right mouse button in the client area, opening the context menu.

Param

The mouse event.

MDN Reference

Inherited from

GlobalEventHandlers.oncontextmenu

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9001


oncopy

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

MDN Reference

Inherited from

GlobalEventHandlers.oncopy

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9003


oncuechange

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

MDN Reference

Inherited from

GlobalEventHandlers.oncuechange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9005


oncut

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

MDN Reference

Inherited from

GlobalEventHandlers.oncut

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9007


ondblclick

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

Fires when the user double-clicks the object.

Param

The mouse event.

MDN Reference

Inherited from

GlobalEventHandlers.ondblclick

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9014


ondrag

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

Fires on the source object continuously during a drag operation.

Param

The event.

MDN Reference

Inherited from

GlobalEventHandlers.ondrag

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9021


ondragend

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

Fires on the source object when the user releases the mouse at the close of a drag operation.

Param

The event.

MDN Reference

Inherited from

GlobalEventHandlers.ondragend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9028


ondragenter

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

Fires on the target element when the user drags the object to a valid drop target.

Param

The drag event.

MDN Reference

Inherited from

GlobalEventHandlers.ondragenter

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9035


ondragleave

ondragleave: null | (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.

Param

The drag event.

MDN Reference

Inherited from

GlobalEventHandlers.ondragleave

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9042


ondragover

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

Fires on the target element continuously while the user drags the object over a valid drop target.

Param

The event.

MDN Reference

Inherited from

GlobalEventHandlers.ondragover

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9049


ondragstart

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

Fires on the source object when the user starts to drag a text selection or selected object.

Param

The event.

MDN Reference

Inherited from

GlobalEventHandlers.ondragstart

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9056


ondrop

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

MDN Reference

Inherited from

GlobalEventHandlers.ondrop

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9058


ondurationchange

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

Occurs when the duration attribute is updated.

Param

The event.

MDN Reference

Inherited from

GlobalEventHandlers.ondurationchange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9065


onemptied

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

Occurs when the media element is reset to its initial state.

Param

The event.

MDN Reference

Inherited from

GlobalEventHandlers.onemptied

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9072


onended

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

Occurs when the end of playback is reached.

Param

The event

MDN Reference

Inherited from

GlobalEventHandlers.onended

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9079


onerror

onerror: OnErrorEventHandler

Fires when an error occurs during object loading.

Param

The event.

MDN Reference

Inherited from

GlobalEventHandlers.onerror

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9086


onfocus

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

Fires when the object receives focus.

Param

The event.

MDN Reference

Inherited from

GlobalEventHandlers.onfocus

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9093


onformdata

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

MDN Reference

Inherited from

GlobalEventHandlers.onformdata

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9095


onfullscreenchange

onfullscreenchange: null | (this: Document, ev: Event) => any

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6950


onfullscreenerror

onfullscreenerror: null | (this: Document, ev: Event) => any

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6952


ongotpointercapture

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

MDN Reference

Inherited from

GlobalEventHandlers.ongotpointercapture

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9097


oninput

oninput: null | (this: GlobalEventHandlers, ev: Event) => any

MDN Reference

Inherited from

GlobalEventHandlers.oninput

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9099


oninvalid

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

MDN Reference

Inherited from

GlobalEventHandlers.oninvalid

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9101


onkeydown

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

Fires when the user presses a key.

Param

The keyboard event

MDN Reference

Inherited from

GlobalEventHandlers.onkeydown

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9108


onkeypress

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

Fires when the user presses an alphanumeric key.

Param

The event.

Deprecated

MDN Reference

Inherited from

GlobalEventHandlers.onkeypress

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9116


onkeyup

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

Fires when the user releases a key.

Param

The keyboard event

MDN Reference

Inherited from

GlobalEventHandlers.onkeyup

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9123


onload

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

Fires immediately after the browser loads the object.

Param

The event.

MDN Reference

Inherited from

GlobalEventHandlers.onload

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9130


onloadeddata

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

Occurs when media data is loaded at the current playback position.

Param

The event.

MDN Reference

Inherited from

GlobalEventHandlers.onloadeddata

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9137


onloadedmetadata

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

Occurs when the duration and dimensions of the media have been determined.

Param

The event.

MDN Reference

Inherited from

GlobalEventHandlers.onloadedmetadata

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9144


onloadstart

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

Occurs when Internet Explorer begins looking for media data.

Param

The event.

MDN Reference

Inherited from

GlobalEventHandlers.onloadstart

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9151


onlostpointercapture

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

MDN Reference

Inherited from

GlobalEventHandlers.onlostpointercapture

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9153


onmousedown

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

Fires when the user clicks the object with either mouse button.

Param

The mouse event.

MDN Reference

Inherited from

GlobalEventHandlers.onmousedown

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9160


onmouseenter

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

MDN Reference

Inherited from

GlobalEventHandlers.onmouseenter

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9162


onmouseleave

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

MDN Reference

Inherited from

GlobalEventHandlers.onmouseleave

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9164


onmousemove

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

Fires when the user moves the mouse over the object.

Param

The mouse event.

MDN Reference

Inherited from

GlobalEventHandlers.onmousemove

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9171


onmouseout

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

Fires when the user moves the mouse pointer outside the boundaries of the object.

Param

The mouse event.

MDN Reference

Inherited from

GlobalEventHandlers.onmouseout

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9178


onmouseover

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

Fires when the user moves the mouse pointer into the object.

Param

The mouse event.

MDN Reference

Inherited from

GlobalEventHandlers.onmouseover

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9185


onmouseup

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

Fires when the user releases a mouse button while the mouse is over the object.

Param

The mouse event.

MDN Reference

Inherited from

GlobalEventHandlers.onmouseup

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9192


onpaste

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

MDN Reference

Inherited from

GlobalEventHandlers.onpaste

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9194


onpause

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

Occurs when playback is paused.

Param

The event.

MDN Reference

Inherited from

GlobalEventHandlers.onpause

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9201


onplay

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

Occurs when the play method is requested.

Param

The event.

MDN Reference

Inherited from

GlobalEventHandlers.onplay

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9208


onplaying

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

Occurs when the audio or video has started playing.

Param

The event.

MDN Reference

Inherited from

GlobalEventHandlers.onplaying

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9215


onpointercancel

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

MDN Reference

Inherited from

GlobalEventHandlers.onpointercancel

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9217


onpointerdown

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

MDN Reference

Inherited from

GlobalEventHandlers.onpointerdown

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9219


onpointerenter

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

MDN Reference

Inherited from

GlobalEventHandlers.onpointerenter

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9221


onpointerleave

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

MDN Reference

Inherited from

GlobalEventHandlers.onpointerleave

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9223


onpointerlockchange

onpointerlockchange: null | (this: Document, ev: Event) => any

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6954


onpointerlockerror

onpointerlockerror: null | (this: Document, ev: Event) => any

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6956


onpointermove

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

MDN Reference

Inherited from

GlobalEventHandlers.onpointermove

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9225


onpointerout

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

MDN Reference

Inherited from

GlobalEventHandlers.onpointerout

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9227


onpointerover

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

MDN Reference

Inherited from

GlobalEventHandlers.onpointerover

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9229


onpointerup

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

MDN Reference

Inherited from

GlobalEventHandlers.onpointerup

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9231


onprogress

onprogress: null | (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any

Occurs to indicate progress while downloading media data.

Param

The event.

MDN Reference

Inherited from

GlobalEventHandlers.onprogress

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9238


onratechange

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

Occurs when the playback rate is increased or decreased.

Param

The event.

MDN Reference

Inherited from

GlobalEventHandlers.onratechange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9245


onreadystatechange

onreadystatechange: null | (this: Document, ev: Event) => any

Fires when the state of the object has changed.

Param

The event

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6963


onreset

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

Fires when the user resets a form.

Param

The event.

MDN Reference

Inherited from

GlobalEventHandlers.onreset

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9252


onresize

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

MDN Reference

Inherited from

GlobalEventHandlers.onresize

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9254


onscroll

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

Fires when the user repositions the scroll box in the scroll bar on the object.

Param

The event.

MDN Reference

Inherited from

GlobalEventHandlers.onscroll

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9261


onscrollend

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

MDN Reference

Inherited from

GlobalEventHandlers.onscrollend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9263


onsecuritypolicyviolation

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

MDN Reference

Inherited from

GlobalEventHandlers.onsecuritypolicyviolation

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9265


onseeked

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

Occurs when the seek operation ends.

Param

The event.

MDN Reference

Inherited from

GlobalEventHandlers.onseeked

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9272


onseeking

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

Occurs when the current playback position is moved.

Param

The event.

MDN Reference

Inherited from

GlobalEventHandlers.onseeking

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9279


onselect

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

Fires when the current selection changes.

Param

The event.

MDN Reference

Inherited from

GlobalEventHandlers.onselect

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9286


onselectionchange

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

MDN Reference

Inherited from

GlobalEventHandlers.onselectionchange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9288


onselectstart

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

MDN Reference

Inherited from

GlobalEventHandlers.onselectstart

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9290


onslotchange

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

MDN Reference

Inherited from

GlobalEventHandlers.onslotchange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9292


onstalled

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

Occurs when the download has stopped.

Param

The event.

MDN Reference

Inherited from

GlobalEventHandlers.onstalled

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9299


onsubmit

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

MDN Reference

Inherited from

GlobalEventHandlers.onsubmit

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9301


onsuspend

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

Occurs if the load operation has been intentionally halted.

Param

The event.

MDN Reference

Inherited from

GlobalEventHandlers.onsuspend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9308


ontimeupdate

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

Occurs to indicate the current playback position.

Param

The event.

MDN Reference

Inherited from

GlobalEventHandlers.ontimeupdate

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9315


ontoggle

ontoggle: null | (this: GlobalEventHandlers, ev: Event) => any

MDN Reference

Inherited from

GlobalEventHandlers.ontoggle

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9317


ontouchcancel

Optional ontouchcancel: null | (this: GlobalEventHandlers, ev: TouchEvent) => any

MDN Reference

Inherited from

GlobalEventHandlers.ontouchcancel

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9319


ontouchend

Optional ontouchend: null | (this: GlobalEventHandlers, ev: TouchEvent) => any

MDN Reference

Inherited from

GlobalEventHandlers.ontouchend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9321


ontouchmove

Optional ontouchmove: null | (this: GlobalEventHandlers, ev: TouchEvent) => any

MDN Reference

Inherited from

GlobalEventHandlers.ontouchmove

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9323


ontouchstart

Optional ontouchstart: null | (this: GlobalEventHandlers, ev: TouchEvent) => any

MDN Reference

Inherited from

GlobalEventHandlers.ontouchstart

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9325


ontransitioncancel

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

MDN Reference

Inherited from

GlobalEventHandlers.ontransitioncancel

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9327


ontransitionend

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

MDN Reference

Inherited from

GlobalEventHandlers.ontransitionend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9329


ontransitionrun

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

MDN Reference

Inherited from

GlobalEventHandlers.ontransitionrun

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9331


ontransitionstart

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

MDN Reference

Inherited from

GlobalEventHandlers.ontransitionstart

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9333


onvisibilitychange

onvisibilitychange: null | (this: Document, ev: Event) => any

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6965


onvolumechange

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

Occurs when the volume is changed, or playback is muted or unmuted.

Param

The event.

MDN Reference

Inherited from

GlobalEventHandlers.onvolumechange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9340


onwaiting

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

Occurs when playback stops because the next frame of a video resource is not available.

Param

The event.

MDN Reference

Inherited from

GlobalEventHandlers.onwaiting

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9347


onwebkitanimationend

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

Deprecated

This is a legacy alias of onanimationend.

MDN Reference

Inherited from

GlobalEventHandlers.onwebkitanimationend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9353


onwebkitanimationiteration

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

Deprecated

This is a legacy alias of onanimationiteration.

MDN Reference

Inherited from

GlobalEventHandlers.onwebkitanimationiteration

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9359


onwebkitanimationstart

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

Deprecated

This is a legacy alias of onanimationstart.

MDN Reference

Inherited from

GlobalEventHandlers.onwebkitanimationstart

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9365


onwebkittransitionend

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

Deprecated

This is a legacy alias of ontransitionend.

MDN Reference

Inherited from

GlobalEventHandlers.onwebkittransitionend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9371


onwheel

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

MDN Reference

Inherited from

GlobalEventHandlers.onwheel

Defined in

node_modules/typescript/lib/lib.dom.d.ts:9373


ownerDocument

Readonly ownerDocument: null

Returns the node document. Returns null for documents.

MDN Reference

Overrides

ParentNode.ownerDocument

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6966


parentElement

Readonly parentElement: null | HTMLElement

Returns the parent element.

MDN Reference

Inherited from

ParentNode.parentElement

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16130


parentNode

Readonly parentNode: null | ParentNode

Returns the parent.

MDN Reference

Inherited from

ParentNode.parentNode

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16136


pictureInPictureElement

Readonly pictureInPictureElement: null | Element

MDN Reference

Inherited from

DocumentOrShadowRoot.pictureInPictureElement

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7415


pictureInPictureEnabled

Readonly pictureInPictureEnabled: boolean

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6968


plugins

Readonly plugins: HTMLCollectionOf<HTMLEmbedElement>

Return an HTMLCollection of the embed elements in the Document.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6974


pointerLockElement

Readonly pointerLockElement: null | Element

MDN Reference

Inherited from

DocumentOrShadowRoot.pointerLockElement

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7417


previousSibling

Readonly previousSibling: null | ChildNode

Returns the previous sibling.

MDN Reference

Inherited from

ParentNode.previousSibling

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16142


readyState

Readonly readyState: DocumentReadyState

Retrieves a value that indicates the current state of the object.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6980


referrer

Readonly referrer: string

Gets the URL of the location that referred the user to the current page.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6986


rootElement

Readonly rootElement: null | SVGSVGElement

Deprecated

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6992


scripts

Readonly scripts: HTMLCollectionOf<HTMLScriptElement>

Retrieves a collection of all script objects in the document.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6998


scrollingElement

Readonly scrollingElement: null | Element

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7000


styleSheets

Readonly styleSheets: StyleSheetList

Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document.

MDN Reference

Inherited from

DocumentOrShadowRoot.styleSheets

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7423


textContent

textContent: null | string

MDN Reference

Inherited from

ParentNode.textContent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16144


timeline

Readonly timeline: DocumentTimeline

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7002


title

title: string

Contains the title of the document.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7008


visibilityState

Readonly visibilityState: DocumentVisibilityState

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7010


vlinkColor

vlinkColor: string

Sets or gets the color of the links that the user has visited.

Deprecated

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7017

Accessors

location

get location(): Location

Contains information about the current URL.

MDN Reference

Returns

Location

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6947

set location(href): void

Parameters

Name Type
href string | Location

Returns

void

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6948

Methods

addEventListener

addEventListener<K>(type, listener, options?): void

Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.

The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.

When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.

When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.

When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.

If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.

The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.

MDN Reference

Type parameters

Name Type
K extends keyof DocumentEventMap

Parameters

Name Type
type K
listener (this: Document, ev: DocumentEventMap[K]) => any
options? boolean | AddEventListenerOptions

Returns

void

Overrides

ParentNode.addEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7369

addEventListener(type, listener, options?): void

Parameters

Name Type
type string
listener EventListenerOrEventListenerObject
options? boolean | AddEventListenerOptions

Returns

void

Overrides

GlobalEventHandlers.addEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7370


adoptNode

adoptNode<T>(node): T

Moves node from another document and returns it.

If node is a document, throws a "NotSupportedError" DOMException or, if node is a shadow root, throws a "HierarchyRequestError" DOMException.

MDN Reference

Type parameters

Name Type
T extends Node

Parameters

Name Type
node T

Returns

T

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7025


append

append(...nodes): void

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

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

MDN Reference

Parameters

Name Type
...nodes (string | Node)[]

Returns

void

Inherited from

ParentNode.append

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16789


appendChild

appendChild<T>(node): T

MDN Reference

Type parameters

Name Type
T extends Node

Parameters

Name Type
node T

Returns

T

Inherited from

ParentNode.appendChild

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16146


captureEvents

captureEvents(): void

Returns

void

Deprecated

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7031


caretRangeFromPoint

caretRangeFromPoint(x, y): null | Range

Parameters

Name Type
x number
y number

Returns

null | Range

Deprecated

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7033


clear

clear(): void

Returns

void

Deprecated

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7039


cloneNode

cloneNode(deep?): Node

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

MDN Reference

Parameters

Name Type
deep? boolean

Returns

Node

Inherited from

ParentNode.cloneNode

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16152


close

close(): void

Closes an output stream and forces the sent data to display.

MDN Reference

Returns

void

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7045


compareDocumentPosition

compareDocumentPosition(other): number

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

MDN Reference

Parameters

Name Type
other Node

Returns

number

Inherited from

ParentNode.compareDocumentPosition

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16158


contains

contains(other): boolean

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

MDN Reference

Parameters

Name Type
other null | Node

Returns

boolean

Inherited from

ParentNode.contains

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16164


createAttribute

createAttribute(localName): Attr

Creates an attribute object with a specified name.

Parameters

Name Type
localName string

Returns

Attr

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7052


createAttributeNS

createAttributeNS(namespace, qualifiedName): Attr

MDN Reference

Parameters

Name Type
namespace null | string
qualifiedName string

Returns

Attr

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7054


createCDATASection

createCDATASection(data): CDATASection

Returns a CDATASection node whose data is data.

MDN Reference

Parameters

Name Type
data string

Returns

CDATASection

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7060


createComment

createComment(data): Comment

Creates a comment object with the specified data.

Parameters

Name Type Description
data string Sets the comment object's data. MDN Reference

Returns

Comment

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7067


createDocumentFragment

createDocumentFragment(): DocumentFragment

Creates a new document.

MDN Reference

Returns

DocumentFragment

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7073


createElement

createElement<K>(tagName, options?): HTMLElementTagNameMap[K]

Creates an instance of the element for the specified tag.

Type parameters

Name Type
K extends keyof HTMLElementTagNameMap

Parameters

Name Type Description
tagName K The name of an element. MDN Reference
options? ElementCreationOptions -

Returns

HTMLElementTagNameMap[K]

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7080

createElement<K>(tagName, options?): HTMLElementDeprecatedTagNameMap[K]

Type parameters

Name Type
K extends keyof HTMLElementDeprecatedTagNameMap

Parameters

Name Type
tagName K
options? ElementCreationOptions

Returns

HTMLElementDeprecatedTagNameMap[K]

Deprecated

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7082

createElement(tagName, options?): HTMLElement

Parameters

Name Type
tagName string
options? ElementCreationOptions

Returns

HTMLElement

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7083


createElementNS

createElementNS(namespaceURI, qualifiedName): HTMLElement

Returns an element with namespace namespace. Its namespace prefix will be everything before ":" (U+003E) in qualifiedName or null. Its local name will be everything after ":" (U+003E) in qualifiedName or qualifiedName.

If localName does not match the Name production an "InvalidCharacterError" DOMException will be thrown.

If one of the following conditions is true a "NamespaceError" DOMException will be thrown:

localName does not match the QName production. Namespace prefix is not null and namespace is the empty string. Namespace prefix is "xml" and namespace is not the XML namespace. qualifiedName or namespace prefix is "xmlns" and namespace is not the XMLNS namespace. namespace is the XMLNS namespace and neither qualifiedName nor namespace prefix is "xmlns".

When supplied, options's is can be used to create a customized built-in element.

MDN Reference

Parameters

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

Returns

HTMLElement

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7101

createElementNS<K>(namespaceURI, qualifiedName): SVGElementTagNameMap[K]

Type parameters

Name Type
K extends keyof SVGElementTagNameMap

Parameters

Name Type
namespaceURI "http://www.w3.org/2000/svg"
qualifiedName K

Returns

SVGElementTagNameMap[K]

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7102

createElementNS(namespaceURI, qualifiedName): SVGElement

Parameters

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

Returns

SVGElement

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7103

createElementNS<K>(namespaceURI, qualifiedName): MathMLElementTagNameMap[K]

Type parameters

Name Type
K extends keyof MathMLElementTagNameMap

Parameters

Name Type
namespaceURI "http://www.w3.org/1998/Math/MathML"
qualifiedName K

Returns

MathMLElementTagNameMap[K]

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7104

createElementNS(namespaceURI, qualifiedName): MathMLElement

Parameters

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

Returns

MathMLElement

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7105

createElementNS(namespaceURI, qualifiedName, options?): Element

Parameters

Name Type
namespaceURI null | string
qualifiedName string
options? ElementCreationOptions

Returns

Element

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7106

createElementNS(namespace, qualifiedName, options?): Element

Parameters

Name Type
namespace null | string
qualifiedName string
options? string | ElementCreationOptions

Returns

Element

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7107


createEvent

createEvent(eventInterface): AnimationEvent

MDN Reference

Parameters

Name Type
eventInterface "AnimationEvent"

Returns

AnimationEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7109

createEvent(eventInterface): AnimationPlaybackEvent

Parameters

Name Type
eventInterface "AnimationPlaybackEvent"

Returns

AnimationPlaybackEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7110

createEvent(eventInterface): AudioProcessingEvent

Parameters

Name Type
eventInterface "AudioProcessingEvent"

Returns

AudioProcessingEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7111

createEvent(eventInterface): BeforeUnloadEvent

Parameters

Name Type
eventInterface "BeforeUnloadEvent"

Returns

BeforeUnloadEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7112

createEvent(eventInterface): BlobEvent

Parameters

Name Type
eventInterface "BlobEvent"

Returns

BlobEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7113

createEvent(eventInterface): ClipboardEvent

Parameters

Name Type
eventInterface "ClipboardEvent"

Returns

ClipboardEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7114

createEvent(eventInterface): CloseEvent

Parameters

Name Type
eventInterface "CloseEvent"

Returns

CloseEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7115

createEvent(eventInterface): CompositionEvent

Parameters

Name Type
eventInterface "CompositionEvent"

Returns

CompositionEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7116

createEvent(eventInterface): CustomEvent<any>

Parameters

Name Type
eventInterface "CustomEvent"

Returns

CustomEvent<any>

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7117

createEvent(eventInterface): DeviceMotionEvent

Parameters

Name Type
eventInterface "DeviceMotionEvent"

Returns

DeviceMotionEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7118

createEvent(eventInterface): DeviceOrientationEvent

Parameters

Name Type
eventInterface "DeviceOrientationEvent"

Returns

DeviceOrientationEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7119

createEvent(eventInterface): DragEvent

Parameters

Name Type
eventInterface "DragEvent"

Returns

DragEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7120

createEvent(eventInterface): ErrorEvent

Parameters

Name Type
eventInterface "ErrorEvent"

Returns

ErrorEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7121

createEvent(eventInterface): Event

Parameters

Name Type
eventInterface "Event"

Returns

Event

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7122

createEvent(eventInterface): Event

Parameters

Name Type
eventInterface "Events"

Returns

Event

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7123

createEvent(eventInterface): FocusEvent

Parameters

Name Type
eventInterface "FocusEvent"

Returns

FocusEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7124

createEvent(eventInterface): FontFaceSetLoadEvent

Parameters

Name Type
eventInterface "FontFaceSetLoadEvent"

Returns

FontFaceSetLoadEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7125

createEvent(eventInterface): FormDataEvent

Parameters

Name Type
eventInterface "FormDataEvent"

Returns

FormDataEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7126

createEvent(eventInterface): GamepadEvent

Parameters

Name Type
eventInterface "GamepadEvent"

Returns

GamepadEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7127

createEvent(eventInterface): HashChangeEvent

Parameters

Name Type
eventInterface "HashChangeEvent"

Returns

HashChangeEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7128

createEvent(eventInterface): IDBVersionChangeEvent

Parameters

Name Type
eventInterface "IDBVersionChangeEvent"

Returns

IDBVersionChangeEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7129

createEvent(eventInterface): InputEvent

Parameters

Name Type
eventInterface "InputEvent"

Returns

InputEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7130

createEvent(eventInterface): KeyboardEvent

Parameters

Name Type
eventInterface "KeyboardEvent"

Returns

KeyboardEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7131

createEvent(eventInterface): MIDIConnectionEvent

Parameters

Name Type
eventInterface "MIDIConnectionEvent"

Returns

MIDIConnectionEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7132

createEvent(eventInterface): MIDIMessageEvent

Parameters

Name Type
eventInterface "MIDIMessageEvent"

Returns

MIDIMessageEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7133

createEvent(eventInterface): MediaEncryptedEvent

Parameters

Name Type
eventInterface "MediaEncryptedEvent"

Returns

MediaEncryptedEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7134

createEvent(eventInterface): MediaKeyMessageEvent

Parameters

Name Type
eventInterface "MediaKeyMessageEvent"

Returns

MediaKeyMessageEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7135

createEvent(eventInterface): MediaQueryListEvent

Parameters

Name Type
eventInterface "MediaQueryListEvent"

Returns

MediaQueryListEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7136

createEvent(eventInterface): MediaStreamTrackEvent

Parameters

Name Type
eventInterface "MediaStreamTrackEvent"

Returns

MediaStreamTrackEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7137

createEvent(eventInterface): MessageEvent<any>

Parameters

Name Type
eventInterface "MessageEvent"

Returns

MessageEvent<any>

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7138

createEvent(eventInterface): MouseEvent

Parameters

Name Type
eventInterface "MouseEvent"

Returns

MouseEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7139

createEvent(eventInterface): MouseEvent

Parameters

Name Type
eventInterface "MouseEvents"

Returns

MouseEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7140

createEvent(eventInterface): MutationEvent

Parameters

Name Type
eventInterface "MutationEvent"

Returns

MutationEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7141

createEvent(eventInterface): MutationEvent

Parameters

Name Type
eventInterface "MutationEvents"

Returns

MutationEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7142

createEvent(eventInterface): OfflineAudioCompletionEvent

Parameters

Name Type
eventInterface "OfflineAudioCompletionEvent"

Returns

OfflineAudioCompletionEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7143

createEvent(eventInterface): PageTransitionEvent

Parameters

Name Type
eventInterface "PageTransitionEvent"

Returns

PageTransitionEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7144

createEvent(eventInterface): PaymentMethodChangeEvent

Parameters

Name Type
eventInterface "PaymentMethodChangeEvent"

Returns

PaymentMethodChangeEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7145

createEvent(eventInterface): PaymentRequestUpdateEvent

Parameters

Name Type
eventInterface "PaymentRequestUpdateEvent"

Returns

PaymentRequestUpdateEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7146

createEvent(eventInterface): PictureInPictureEvent

Parameters

Name Type
eventInterface "PictureInPictureEvent"

Returns

PictureInPictureEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7147

createEvent(eventInterface): PointerEvent

Parameters

Name Type
eventInterface "PointerEvent"

Returns

PointerEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7148

createEvent(eventInterface): PopStateEvent

Parameters

Name Type
eventInterface "PopStateEvent"

Returns

PopStateEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7149

createEvent(eventInterface): ProgressEvent<EventTarget>

Parameters

Name Type
eventInterface "ProgressEvent"

Returns

ProgressEvent<EventTarget>

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7150

createEvent(eventInterface): PromiseRejectionEvent

Parameters

Name Type
eventInterface "PromiseRejectionEvent"

Returns

PromiseRejectionEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7151

createEvent(eventInterface): RTCDTMFToneChangeEvent

Parameters

Name Type
eventInterface "RTCDTMFToneChangeEvent"

Returns

RTCDTMFToneChangeEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7152

createEvent(eventInterface): RTCDataChannelEvent

Parameters

Name Type
eventInterface "RTCDataChannelEvent"

Returns

RTCDataChannelEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7153

createEvent(eventInterface): RTCErrorEvent

Parameters

Name Type
eventInterface "RTCErrorEvent"

Returns

RTCErrorEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7154

createEvent(eventInterface): RTCPeerConnectionIceErrorEvent

Parameters

Name Type
eventInterface "RTCPeerConnectionIceErrorEvent"

Returns

RTCPeerConnectionIceErrorEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7155

createEvent(eventInterface): RTCPeerConnectionIceEvent

Parameters

Name Type
eventInterface "RTCPeerConnectionIceEvent"

Returns

RTCPeerConnectionIceEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7156

createEvent(eventInterface): RTCTrackEvent

Parameters

Name Type
eventInterface "RTCTrackEvent"

Returns

RTCTrackEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7157

createEvent(eventInterface): SecurityPolicyViolationEvent

Parameters

Name Type
eventInterface "SecurityPolicyViolationEvent"

Returns

SecurityPolicyViolationEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7158

createEvent(eventInterface): SpeechSynthesisErrorEvent

Parameters

Name Type
eventInterface "SpeechSynthesisErrorEvent"

Returns

SpeechSynthesisErrorEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7159

createEvent(eventInterface): SpeechSynthesisEvent

Parameters

Name Type
eventInterface "SpeechSynthesisEvent"

Returns

SpeechSynthesisEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7160

createEvent(eventInterface): StorageEvent

Parameters

Name Type
eventInterface "StorageEvent"

Returns

StorageEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7161

createEvent(eventInterface): SubmitEvent

Parameters

Name Type
eventInterface "SubmitEvent"

Returns

SubmitEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7162

createEvent(eventInterface): ToggleEvent

Parameters

Name Type
eventInterface "ToggleEvent"

Returns

ToggleEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7163

createEvent(eventInterface): TouchEvent

Parameters

Name Type
eventInterface "TouchEvent"

Returns

TouchEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7164

createEvent(eventInterface): TrackEvent

Parameters

Name Type
eventInterface "TrackEvent"

Returns

TrackEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7165

createEvent(eventInterface): TransitionEvent

Parameters

Name Type
eventInterface "TransitionEvent"

Returns

TransitionEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7166

createEvent(eventInterface): UIEvent

Parameters

Name Type
eventInterface "UIEvent"

Returns

UIEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7167

createEvent(eventInterface): UIEvent

Parameters

Name Type
eventInterface "UIEvents"

Returns

UIEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7168

createEvent(eventInterface): WebGLContextEvent

Parameters

Name Type
eventInterface "WebGLContextEvent"

Returns

WebGLContextEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7169

createEvent(eventInterface): WheelEvent

Parameters

Name Type
eventInterface "WheelEvent"

Returns

WheelEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7170

createEvent(eventInterface): Event

Parameters

Name Type
eventInterface string

Returns

Event

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7171


createExpression

createExpression(expression, resolver?): XPathExpression

MDN Reference

Parameters

Name Type
expression string
resolver? null | XPathNSResolver

Returns

XPathExpression

Inherited from

XPathEvaluatorBase.createExpression

Defined in

node_modules/typescript/lib/lib.dom.d.ts:26326


createNSResolver

createNSResolver(nodeResolver): Node

MDN Reference

Parameters

Name Type
nodeResolver Node

Returns

Node

Inherited from

XPathEvaluatorBase.createNSResolver

Defined in

node_modules/typescript/lib/lib.dom.d.ts:26328


createNodeIterator

createNodeIterator(root, whatToShow?, filter?): NodeIterator

Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.

Parameters

Name Type Description
root Node The root element or node to start traversing on.
whatToShow? number The type of nodes or elements to appear in the node list
filter? null | NodeFilter A custom NodeFilter function to use. For more information, see filter. Use null for no filter. MDN Reference

Returns

NodeIterator

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7180


createProcessingInstruction

createProcessingInstruction(target, data): ProcessingInstruction

Returns a ProcessingInstruction node whose target is target and data is data. If target does not match the Name production an "InvalidCharacterError" DOMException will be thrown. If data contains "?>" an "InvalidCharacterError" DOMException will be thrown.

MDN Reference

Parameters

Name Type
target string
data string

Returns

ProcessingInstruction

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7186


createRange

createRange(): Range

Returns an empty range object that has both of its boundary points positioned at the beginning of the document.

MDN Reference

Returns

Range

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7192


createTextNode

createTextNode(data): Text

Creates a text string from the specified value.

Parameters

Name Type Description
data string String that specifies the nodeValue property of the text node. MDN Reference

Returns

Text

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7199


createTreeWalker

createTreeWalker(root, whatToShow?, filter?): TreeWalker

Creates a TreeWalker object that you can use to traverse filtered lists of nodes or elements in a document.

Parameters

Name Type Description
root Node The root element or node to start traversing on.
whatToShow? number The type of nodes or elements to appear in the node list. For more information, see whatToShow.
filter? null | NodeFilter A custom NodeFilter function to use. MDN Reference

Returns

TreeWalker

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7208


dispatchEvent

dispatchEvent(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.

MDN Reference

Parameters

Name Type
event Event

Returns

boolean

Inherited from

ParentNode.dispatchEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:8217


elementFromPoint

elementFromPoint(x, y): null | Element

Returns the element for the specified x coordinate and the specified y coordinate.

Parameters

Name Type Description
x number The x-offset
y number The y-offset

Returns

null | Element

Inherited from

DocumentOrShadowRoot.elementFromPoint

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7429


elementsFromPoint

elementsFromPoint(x, y): Element[]

Parameters

Name Type
x number
y number

Returns

Element[]

Inherited from

DocumentOrShadowRoot.elementsFromPoint

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7430


evaluate

evaluate(expression, contextNode, resolver?, type?, result?): XPathResult

MDN Reference

Parameters

Name Type
expression string
contextNode Node
resolver? null | XPathNSResolver
type? number
result? null | XPathResult

Returns

XPathResult

Inherited from

XPathEvaluatorBase.evaluate

Defined in

node_modules/typescript/lib/lib.dom.d.ts:26330


execCommand

execCommand(commandId, showUI?, value?): boolean

Executes a command on the current document, current selection, or the given range.

Parameters

Name Type Description
commandId string String that specifies the command to execute. This command can be any of the command identifiers that can be executed in script.
showUI? boolean Display the user interface, defaults to false.
value? string Value to assign.

Returns

boolean

Deprecated

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7218


exitFullscreen

exitFullscreen(): Promise<void>

Stops document's fullscreen element from being displayed fullscreen and resolves promise when done.

MDN Reference

Returns

Promise<void>

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7224


exitPictureInPicture

exitPictureInPicture(): Promise<void>

MDN Reference

Returns

Promise<void>

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7226


exitPointerLock

exitPointerLock(): void

MDN Reference

Returns

void

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7228


getAnimations

getAnimations(): Animation[]

MDN Reference

Returns

Animation[]

Inherited from

DocumentOrShadowRoot.getAnimations

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7432


getElementById

getElementById(elementId): null | HTMLElement

Returns a reference to the first object with the specified value of the ID attribute.

Parameters

Name Type Description
elementId string String that specifies the ID value.

Returns

null | HTMLElement

Overrides

NonElementParentNode.getElementById

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7233


getElementsByClassName

getElementsByClassName(classNames): 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.

MDN Reference

Parameters

Name Type
classNames string

Returns

HTMLCollectionOf<Element>

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7239


getElementsByName

getElementsByName(elementName): NodeListOf<HTMLElement>

Gets a collection of objects based on the value of the NAME or ID attribute.

Parameters

Name Type Description
elementName string Gets a collection of objects based on the value of the NAME or ID attribute. MDN Reference

Returns

NodeListOf<HTMLElement>

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7246


getElementsByTagName

getElementsByTagName<K>(qualifiedName): HTMLCollectionOf<HTMLElementTagNameMap[K]>

Retrieves a collection of objects based on the specified element name.

Type parameters

Name Type
K extends keyof HTMLElementTagNameMap

Parameters

Name Type
qualifiedName K

Returns

HTMLCollectionOf<HTMLElementTagNameMap[K]>

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7253

getElementsByTagName<K>(qualifiedName): HTMLCollectionOf<SVGElementTagNameMap[K]>

Type parameters

Name Type
K extends keyof SVGElementTagNameMap

Parameters

Name Type
qualifiedName K

Returns

HTMLCollectionOf<SVGElementTagNameMap[K]>

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7254

getElementsByTagName<K>(qualifiedName): HTMLCollectionOf<MathMLElementTagNameMap[K]>

Type parameters

Name Type
K extends keyof MathMLElementTagNameMap

Parameters

Name Type
qualifiedName K

Returns

HTMLCollectionOf<MathMLElementTagNameMap[K]>

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7255

getElementsByTagName<K>(qualifiedName): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>

Type parameters

Name Type
K extends keyof HTMLElementDeprecatedTagNameMap

Parameters

Name Type
qualifiedName K

Returns

HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>

Deprecated

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7257

getElementsByTagName(qualifiedName): HTMLCollectionOf<Element>

Parameters

Name Type
qualifiedName string

Returns

HTMLCollectionOf<Element>

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7258


getElementsByTagNameNS

getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<HTMLElement>

If namespace and localName are "*" returns a HTMLCollection of all descendant elements.

If only namespace is "*" returns a HTMLCollection of all descendant elements whose local name is localName.

If only localName is "*" returns a HTMLCollection of all descendant elements whose namespace is namespace.

Otherwise, returns a HTMLCollection of all descendant elements whose namespace is namespace and local name is localName.

MDN Reference

Parameters

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

Returns

HTMLCollectionOf<HTMLElement>

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7270

getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<SVGElement>

Parameters

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

Returns

HTMLCollectionOf<SVGElement>

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7271

getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<MathMLElement>

Parameters

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

Returns

HTMLCollectionOf<MathMLElement>

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7272

getElementsByTagNameNS(namespace, localName): HTMLCollectionOf<Element>

Parameters

Name Type
namespace null | string
localName string

Returns

HTMLCollectionOf<Element>

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7273


getRootNode

getRootNode(options?): Node

Returns node's root.

MDN Reference

Parameters

Name Type
options? GetRootNodeOptions

Returns

Node

Inherited from

ParentNode.getRootNode

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16170


getSelection

getSelection(): null | Selection

Returns an object representing the current selection of the document that is loaded into the object displaying a webpage.

MDN Reference

Returns

null | Selection

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7279


hasChildNodes

hasChildNodes(): boolean

Returns whether node has children.

MDN Reference

Returns

boolean

Inherited from

ParentNode.hasChildNodes

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16176


hasFocus

hasFocus(): boolean

Gets a value indicating whether the object currently has focus.

MDN Reference

Returns

boolean

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7285


hasStorageAccess

hasStorageAccess(): Promise<boolean>

MDN Reference

Returns

Promise<boolean>

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7287


importNode

importNode<T>(node, deep?): T

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

If node is a document or a shadow root, throws a "NotSupportedError" DOMException.

MDN Reference

Type parameters

Name Type
T extends Node

Parameters

Name Type
node T
deep? boolean

Returns

T

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7295


insertBefore

insertBefore<T>(node, child): T

MDN Reference

Type parameters

Name Type
T extends Node

Parameters

Name Type
node T
child null | Node

Returns

T

Inherited from

ParentNode.insertBefore

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16178


isDefaultNamespace

isDefaultNamespace(namespace): boolean

MDN Reference

Parameters

Name Type
namespace null | string

Returns

boolean

Inherited from

ParentNode.isDefaultNamespace

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16180


isEqualNode

isEqualNode(otherNode): boolean

Returns whether node and otherNode have the same properties.

MDN Reference

Parameters

Name Type
otherNode null | Node

Returns

boolean

Inherited from

ParentNode.isEqualNode

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16186


isSameNode

isSameNode(otherNode): boolean

MDN Reference

Parameters

Name Type
otherNode null | Node

Returns

boolean

Inherited from

ParentNode.isSameNode

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16188


lookupNamespaceURI

lookupNamespaceURI(prefix): null | string

MDN Reference

Parameters

Name Type
prefix null | string

Returns

null | string

Inherited from

ParentNode.lookupNamespaceURI

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16190


lookupPrefix

lookupPrefix(namespace): null | string

MDN Reference

Parameters

Name Type
namespace null | string

Returns

null | string

Inherited from

ParentNode.lookupPrefix

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16192


normalize

normalize(): void

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

MDN Reference

Returns

void

Inherited from

ParentNode.normalize

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16198


open

open(unused1?, unused2?): Document

Opens a new window and loads a document specified by a given URL. Also, opens a new window that uses the url parameter and the name parameter to collect the output of the write method and the writeln method.

Parameters

Name Type
unused1? string
unused2? string

Returns

Document

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7305

open(url, name, features): null | Window

Parameters

Name Type
url string | URL
name string
features string

Returns

null | Window

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7306


prepend

prepend(...nodes): void

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

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

MDN Reference

Parameters

Name Type
...nodes (string | Node)[]

Returns

void

Inherited from

ParentNode.prepend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16797


queryCommandEnabled

queryCommandEnabled(commandId): boolean

Returns a Boolean value that indicates whether a specified command can be successfully executed using execCommand, given the current state of the document.

Parameters

Name Type Description
commandId string Specifies a command identifier.

Returns

boolean

Deprecated

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7314


queryCommandIndeterm

queryCommandIndeterm(commandId): boolean

Returns a Boolean value that indicates whether the specified command is in the indeterminate state.

Parameters

Name Type Description
commandId string String that specifies a command identifier.

Returns

boolean

Deprecated

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7322


queryCommandState

queryCommandState(commandId): boolean

Returns a Boolean value that indicates the current state of the command.

Parameters

Name Type Description
commandId string String that specifies a command identifier.

Returns

boolean

Deprecated

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7330


queryCommandSupported

queryCommandSupported(commandId): boolean

Returns a Boolean value that indicates whether the current command is supported on the current range.

Parameters

Name Type Description
commandId string Specifies a command identifier.

Returns

boolean

Deprecated

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7338


queryCommandValue

queryCommandValue(commandId): string

Returns the current value of the document, range, or current selection for the given command.

Parameters

Name Type Description
commandId string String that specifies a command identifier.

Returns

string

Deprecated

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7346


querySelector

querySelector<K>(selectors): null | HTMLElementTagNameMap[K]

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

MDN Reference

Type parameters

Name Type
K extends keyof HTMLElementTagNameMap

Parameters

Name Type
selectors K

Returns

null | HTMLElementTagNameMap[K]

Inherited from

ParentNode.querySelector

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16803

querySelector<K>(selectors): null | SVGElementTagNameMap[K]

Type parameters

Name Type
K extends keyof SVGElementTagNameMap

Parameters

Name Type
selectors K

Returns

null | SVGElementTagNameMap[K]

Inherited from

ParentNode.querySelector

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16804

querySelector<K>(selectors): null | MathMLElementTagNameMap[K]

Type parameters

Name Type
K extends keyof MathMLElementTagNameMap

Parameters

Name Type
selectors K

Returns

null | MathMLElementTagNameMap[K]

Inherited from

ParentNode.querySelector

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16805

querySelector<K>(selectors): null | HTMLElementDeprecatedTagNameMap[K]

Type parameters

Name Type
K extends keyof HTMLElementDeprecatedTagNameMap

Parameters

Name Type
selectors K

Returns

null | HTMLElementDeprecatedTagNameMap[K]

Deprecated

Inherited from

ParentNode.querySelector

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16807

querySelector<E>(selectors): null | E

Type parameters

Name Type
E extends Element = Element

Parameters

Name Type
selectors string

Returns

null | E

Inherited from

ParentNode.querySelector

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16808


querySelectorAll

querySelectorAll<K>(selectors): NodeListOf<HTMLElementTagNameMap[K]>

Returns all element descendants of node that match selectors.

MDN Reference

Type parameters

Name Type
K extends keyof HTMLElementTagNameMap

Parameters

Name Type
selectors K

Returns

NodeListOf<HTMLElementTagNameMap[K]>

Inherited from

ParentNode.querySelectorAll

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16814

querySelectorAll<K>(selectors): NodeListOf<SVGElementTagNameMap[K]>

Type parameters

Name Type
K extends keyof SVGElementTagNameMap

Parameters

Name Type
selectors K

Returns

NodeListOf<SVGElementTagNameMap[K]>

Inherited from

ParentNode.querySelectorAll

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16815

querySelectorAll<K>(selectors): NodeListOf<MathMLElementTagNameMap[K]>

Type parameters

Name Type
K extends keyof MathMLElementTagNameMap

Parameters

Name Type
selectors K

Returns

NodeListOf<MathMLElementTagNameMap[K]>

Inherited from

ParentNode.querySelectorAll

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16816

querySelectorAll<K>(selectors): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>

Type parameters

Name Type
K extends keyof HTMLElementDeprecatedTagNameMap

Parameters

Name Type
selectors K

Returns

NodeListOf<HTMLElementDeprecatedTagNameMap[K]>

Deprecated

Inherited from

ParentNode.querySelectorAll

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16818

querySelectorAll<E>(selectors): NodeListOf<E>

Type parameters

Name Type
E extends Element = Element

Parameters

Name Type
selectors string

Returns

NodeListOf<E>

Inherited from

ParentNode.querySelectorAll

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16819


releaseEvents

releaseEvents(): void

Returns

void

Deprecated

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7352


removeChild

removeChild<T>(child): T

MDN Reference

Type parameters

Name Type
T extends Node

Parameters

Name Type
child T

Returns

T

Inherited from

ParentNode.removeChild

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16200


removeEventListener

removeEventListener<K>(type, listener, options?): void

Removes the event listener in target's event listener list with the same type, callback, and options.

MDN Reference

Type parameters

Name Type
K extends keyof DocumentEventMap

Parameters

Name Type
type K
listener (this: Document, ev: DocumentEventMap[K]) => any
options? boolean | EventListenerOptions

Returns

void

Overrides

ParentNode.removeEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7371

removeEventListener(type, listener, options?): void

Parameters

Name Type
type string
listener EventListenerOrEventListenerObject
options? boolean | EventListenerOptions

Returns

void

Overrides

GlobalEventHandlers.removeEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7372


replaceChild

replaceChild<T>(node, child): T

MDN Reference

Type parameters

Name Type
T extends Node

Parameters

Name Type
node Node
child T

Returns

T

Inherited from

ParentNode.replaceChild

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16202


replaceChildren

replaceChildren(...nodes): void

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

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

MDN Reference

Parameters

Name Type
...nodes (string | Node)[]

Returns

void

Inherited from

ParentNode.replaceChildren

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16827


requestStorageAccess

requestStorageAccess(): Promise<void>

MDN Reference

Returns

Promise<void>

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7354


write

write(...text): void

Writes one or more HTML expressions to a document in the specified window.

Parameters

Name Type
...text string[]

Returns

void

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7361


writeln

writeln(...text): void

Writes one or more HTML expressions, followed by a carriage return, to a document in the specified window.

Parameters

Name Type
...text string[]

Returns

void

Defined in

node_modules/typescript/lib/lib.dom.d.ts:7368

Typescript Libraries

Modules

Namespaces

Clone this wiki locally