-
Notifications
You must be signed in to change notification settings - Fork 0
@ralphschuler.webgl shader factory.<internal>.XMLDocument
@ralphschuler/webgl-shader-factory.<internal>.XMLDocument
An XML document. It inherits from the generic Document and does not add any specific methods or properties to it: nevertheless, several algorithms behave differently with the two types of documents.
-
↳
XMLDocument
- 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
- URL
- activeElement
- adoptedStyleSheets
- alinkColor
- all
- anchors
- applets
- baseURI
- bgColor
- body
- characterSet
- charset
- childElementCount
- childNodes
- children
- compatMode
- contentType
- cookie
- currentScript
- defaultView
- designMode
- dir
- doctype
- documentElement
- documentURI
- domain
- embeds
- fgColor
- firstChild
- firstElementChild
- fonts
- forms
- fullscreen
- fullscreenElement
- fullscreenEnabled
- head
- hidden
- images
- implementation
- inputEncoding
- isConnected
- lastChild
- lastElementChild
- lastModified
- linkColor
- links
- nextSibling
- nodeName
- nodeType
- nodeValue
- 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
- onpointerlockchange
- onpointerlockerror
- onpointermove
- onpointerout
- onpointerover
- onpointerup
- onprogress
- onratechange
- onreadystatechange
- onreset
- onresize
- onscroll
- onscrollend
- onsecuritypolicyviolation
- onseeked
- onseeking
- onselect
- onselectionchange
- onselectstart
- onslotchange
- onstalled
- onsubmit
- onsuspend
- ontimeupdate
- ontoggle
- ontouchcancel
- ontouchend
- ontouchmove
- ontouchstart
- ontransitioncancel
- ontransitionend
- ontransitionrun
- ontransitionstart
- onvisibilitychange
- onvolumechange
- onwaiting
- onwebkitanimationend
- onwebkitanimationiteration
- onwebkitanimationstart
- onwebkittransitionend
- onwheel
- ownerDocument
- parentElement
- parentNode
- pictureInPictureElement
- pictureInPictureEnabled
- plugins
- pointerLockElement
- previousSibling
- readyState
- referrer
- rootElement
- scripts
- scrollingElement
- styleSheets
- textContent
- timeline
- title
- visibilityState
- vlinkColor
- addEventListener
- adoptNode
- append
- appendChild
- captureEvents
- caretRangeFromPoint
- clear
- cloneNode
- close
- compareDocumentPosition
- contains
- createAttribute
- createAttributeNS
- createCDATASection
- createComment
- createDocumentFragment
- createElement
- createElementNS
- createEvent
- createExpression
- createNSResolver
- createNodeIterator
- createProcessingInstruction
- createRange
- createTextNode
- createTreeWalker
- dispatchEvent
- elementFromPoint
- elementsFromPoint
- evaluate
- execCommand
- exitFullscreen
- exitPictureInPicture
- exitPointerLock
- getAnimations
- getElementById
- getElementsByClassName
- getElementsByName
- getElementsByTagName
- getElementsByTagNameNS
- getRootNode
- getSelection
- hasChildNodes
- hasFocus
- hasStorageAccess
- importNode
- insertBefore
- isDefaultNamespace
- isEqualNode
- isSameNode
- lookupNamespaceURI
- lookupPrefix
- normalize
- open
- prepend
- queryCommandEnabled
- queryCommandIndeterm
- queryCommandState
- queryCommandSupported
- queryCommandValue
- querySelector
- querySelectorAll
- releaseEvents
- removeChild
- removeEventListener
- replaceChild
- replaceChildren
- requestStorageAccess
- write
- writeln
• Readonly
ATTRIBUTE_NODE: 2
Document.ATTRIBUTE_NODE
node_modules/typescript/lib/lib.dom.d.ts:16205
• Readonly
CDATA_SECTION_NODE: 4
node is a CDATASection node.
Document.CDATA_SECTION_NODE
node_modules/typescript/lib/lib.dom.d.ts:16209
• Readonly
COMMENT_NODE: 8
node is a Comment node.
Document.COMMENT_NODE
node_modules/typescript/lib/lib.dom.d.ts:16215
• Readonly
DOCUMENT_FRAGMENT_NODE: 11
node is a DocumentFragment node.
Document.DOCUMENT_FRAGMENT_NODE
node_modules/typescript/lib/lib.dom.d.ts:16221
• Readonly
DOCUMENT_NODE: 9
node is a document.
Document.DOCUMENT_NODE
node_modules/typescript/lib/lib.dom.d.ts:16217
• Readonly
DOCUMENT_POSITION_CONTAINED_BY: 16
Set when other is a descendant of node.
Document.DOCUMENT_POSITION_CONTAINED_BY
node_modules/typescript/lib/lib.dom.d.ts:16232
• Readonly
DOCUMENT_POSITION_CONTAINS: 8
Set when other is an ancestor of node.
Document.DOCUMENT_POSITION_CONTAINS
node_modules/typescript/lib/lib.dom.d.ts:16230
• Readonly
DOCUMENT_POSITION_DISCONNECTED: 1
Set when node and other are not in the same tree.
Document.DOCUMENT_POSITION_DISCONNECTED
node_modules/typescript/lib/lib.dom.d.ts:16224
• Readonly
DOCUMENT_POSITION_FOLLOWING: 4
Set when other is following node.
Document.DOCUMENT_POSITION_FOLLOWING
node_modules/typescript/lib/lib.dom.d.ts:16228
• Readonly
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32
Document.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
node_modules/typescript/lib/lib.dom.d.ts:16233
• Readonly
DOCUMENT_POSITION_PRECEDING: 2
Set when other is preceding node.
Document.DOCUMENT_POSITION_PRECEDING
node_modules/typescript/lib/lib.dom.d.ts:16226
• Readonly
DOCUMENT_TYPE_NODE: 10
node is a doctype.
Document.DOCUMENT_TYPE_NODE
node_modules/typescript/lib/lib.dom.d.ts:16219
• Readonly
ELEMENT_NODE: 1
node is an element.
Document.ELEMENT_NODE
node_modules/typescript/lib/lib.dom.d.ts:16204
• Readonly
ENTITY_NODE: 6
Document.ENTITY_NODE
node_modules/typescript/lib/lib.dom.d.ts:16211
• Readonly
ENTITY_REFERENCE_NODE: 5
Document.ENTITY_REFERENCE_NODE
node_modules/typescript/lib/lib.dom.d.ts:16210
• Readonly
NOTATION_NODE: 12
Document.NOTATION_NODE
node_modules/typescript/lib/lib.dom.d.ts:16222
• Readonly
PROCESSING_INSTRUCTION_NODE: 7
node is a ProcessingInstruction node.
Document.PROCESSING_INSTRUCTION_NODE
node_modules/typescript/lib/lib.dom.d.ts:16213
• Readonly
TEXT_NODE: 3
node is a Text node.
Document.TEXT_NODE
node_modules/typescript/lib/lib.dom.d.ts:16207
• Readonly
URL: string
Sets or gets the URL for the current document.
Document.URL
node_modules/typescript/lib/lib.dom.d.ts:6737
• 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.
Document.activeElement
node_modules/typescript/lib/lib.dom.d.ts:7405
• adoptedStyleSheets: CSSStyleSheet
[]
Document.adoptedStyleSheets
node_modules/typescript/lib/lib.dom.d.ts:7407
• alinkColor: string
Sets or gets the color of all active links in the document.
Deprecated
Document.alinkColor
node_modules/typescript/lib/lib.dom.d.ts:6744
• Readonly
all: HTMLAllCollection
Returns a reference to the collection of elements contained by the object.
Deprecated
Document.all
node_modules/typescript/lib/lib.dom.d.ts:6751
• 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
Document.anchors
node_modules/typescript/lib/lib.dom.d.ts:6758
• Readonly
applets: HTMLCollection
Retrieves a collection of all applet objects in the document.
Deprecated
Document.applets
node_modules/typescript/lib/lib.dom.d.ts:6765
• Readonly
baseURI: string
Returns node's node document's document base URL.
Document.baseURI
node_modules/typescript/lib/lib.dom.d.ts:16074
• bgColor: string
Deprecated. Sets or retrieves a value that indicates the background color behind the object.
Deprecated
Document.bgColor
node_modules/typescript/lib/lib.dom.d.ts:6772
• body: HTMLElement
Specifies the beginning and end of the document body.
Document.body
node_modules/typescript/lib/lib.dom.d.ts:6778
• Readonly
characterSet: string
Returns document's encoding.
Document.characterSet
node_modules/typescript/lib/lib.dom.d.ts:6784
• Readonly
charset: string
Gets or sets the character set used to encode the object.
Deprecated
This is a legacy alias of characterSet
.
Document.charset
node_modules/typescript/lib/lib.dom.d.ts:6791
• Readonly
childElementCount: number
Document.childElementCount
node_modules/typescript/lib/lib.dom.d.ts:16763
• Readonly
childNodes: NodeListOf
<ChildNode
>
Returns the children.
Document.childNodes
node_modules/typescript/lib/lib.dom.d.ts:16080
• Readonly
children: HTMLCollection
Returns the child elements.
Document.children
node_modules/typescript/lib/lib.dom.d.ts:16769
• Readonly
compatMode: string
Gets a value that indicates whether standards-compliant mode is switched on for the object.
Document.compatMode
node_modules/typescript/lib/lib.dom.d.ts:6797
• Readonly
contentType: string
Returns document's content type.
Document.contentType
node_modules/typescript/lib/lib.dom.d.ts:6803
• 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.
Document.cookie
node_modules/typescript/lib/lib.dom.d.ts:6813
• 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.
Document.currentScript
node_modules/typescript/lib/lib.dom.d.ts:6821
• Readonly
defaultView: null
| Window
& typeof globalThis
Returns the Window object of the active document.
Document.defaultView
node_modules/typescript/lib/lib.dom.d.ts:6827
• designMode: string
Sets or gets a value that indicates whether the document can be edited.
Document.designMode
node_modules/typescript/lib/lib.dom.d.ts:6833
• dir: string
Sets or retrieves a value that indicates the reading order of the object.
Document.dir
node_modules/typescript/lib/lib.dom.d.ts:6839
• Readonly
doctype: null
| DocumentType
Gets an object representing the document type declaration associated with the current document.
Document.doctype
node_modules/typescript/lib/lib.dom.d.ts:6845
• Readonly
documentElement: HTMLElement
Gets a reference to the root node of the document.
Document.documentElement
node_modules/typescript/lib/lib.dom.d.ts:6851
• Readonly
documentURI: string
Returns document's URL.
Document.documentURI
node_modules/typescript/lib/lib.dom.d.ts:6857
• domain: string
Sets or gets the security domain of the document.
Deprecated
Document.domain
node_modules/typescript/lib/lib.dom.d.ts:6864
• Readonly
embeds: HTMLCollectionOf
<HTMLEmbedElement
>
Retrieves a collection of all embed objects in the document.
Document.embeds
node_modules/typescript/lib/lib.dom.d.ts:6870
• fgColor: string
Sets or gets the foreground (text) color of the document.
Deprecated
Document.fgColor
node_modules/typescript/lib/lib.dom.d.ts:6877
• Readonly
firstChild: null
| ChildNode
Returns the first child.
Document.firstChild
node_modules/typescript/lib/lib.dom.d.ts:16086
• Readonly
firstElementChild: null
| Element
Returns the first child that is an element, and null otherwise.
Document.firstElementChild
node_modules/typescript/lib/lib.dom.d.ts:16775
• Readonly
fonts: FontFaceSet
Document.fonts
node_modules/typescript/lib/lib.dom.d.ts:8602
• Readonly
forms: HTMLCollectionOf
<HTMLFormElement
>
Retrieves a collection, in source order, of all form objects in the document.
Document.forms
node_modules/typescript/lib/lib.dom.d.ts:6883
• Readonly
fullscreen: boolean
Deprecated
Document.fullscreen
node_modules/typescript/lib/lib.dom.d.ts:6889
• Readonly
fullscreenElement: null
| Element
Returns document's fullscreen element.
Document.fullscreenElement
node_modules/typescript/lib/lib.dom.d.ts:7413
• Readonly
fullscreenEnabled: boolean
Returns true if document has the ability to display elements fullscreen and fullscreen is supported, or false otherwise.
Document.fullscreenEnabled
node_modules/typescript/lib/lib.dom.d.ts:6895
• Readonly
head: HTMLHeadElement
Returns the head element.
Document.head
node_modules/typescript/lib/lib.dom.d.ts:6901
• Readonly
hidden: boolean
Document.hidden
node_modules/typescript/lib/lib.dom.d.ts:6903
• Readonly
images: HTMLCollectionOf
<HTMLImageElement
>
Retrieves a collection, in source order, of img objects in the document.
Document.images
node_modules/typescript/lib/lib.dom.d.ts:6909
• Readonly
implementation: DOMImplementation
Gets the implementation object of the current document.
Document.implementation
node_modules/typescript/lib/lib.dom.d.ts:6915
• 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
.
Document.inputEncoding
node_modules/typescript/lib/lib.dom.d.ts:6922
• Readonly
isConnected: boolean
Returns true if node is connected and false otherwise.
Document.isConnected
node_modules/typescript/lib/lib.dom.d.ts:16092
• Readonly
lastChild: null
| ChildNode
Returns the last child.
Document.lastChild
node_modules/typescript/lib/lib.dom.d.ts:16098
• Readonly
lastElementChild: null
| Element
Returns the last child that is an element, and null otherwise.
Document.lastElementChild
node_modules/typescript/lib/lib.dom.d.ts:16781
• Readonly
lastModified: string
Gets the date that the page was last modified, if the page supplies one.
Document.lastModified
node_modules/typescript/lib/lib.dom.d.ts:6928
• linkColor: string
Sets or gets the color of the document links.
Deprecated
Document.linkColor
node_modules/typescript/lib/lib.dom.d.ts:6935
• Readonly
links: HTMLCollectionOf
<HTMLAnchorElement
| HTMLAreaElement
>
Retrieves a collection of all a objects that specify the href property and all area objects in the document.
Document.links
node_modules/typescript/lib/lib.dom.d.ts:6941
• Readonly
nextSibling: null
| ChildNode
Returns the next sibling.
Document.nextSibling
node_modules/typescript/lib/lib.dom.d.ts:16104
• Readonly
nodeName: string
Returns a string appropriate for the type of node.
Document.nodeName
node_modules/typescript/lib/lib.dom.d.ts:16110
• Readonly
nodeType: number
Returns the type of node.
Document.nodeType
node_modules/typescript/lib/lib.dom.d.ts:16116
• nodeValue: null
| string
Document.nodeValue
node_modules/typescript/lib/lib.dom.d.ts:16118
• onabort: null
| (this
: GlobalEventHandlers
, ev
: UIEvent
) => any
Fires when the user aborts the download.
Param
The event.
Document.onabort
node_modules/typescript/lib/lib.dom.d.ts:8948
• onanimationcancel: null
| (this
: GlobalEventHandlers
, ev
: AnimationEvent
) => any
Document.onanimationcancel
node_modules/typescript/lib/lib.dom.d.ts:8950
• onanimationend: null
| (this
: GlobalEventHandlers
, ev
: AnimationEvent
) => any
Document.onanimationend
node_modules/typescript/lib/lib.dom.d.ts:8952
• onanimationiteration: null
| (this
: GlobalEventHandlers
, ev
: AnimationEvent
) => any
Document.onanimationiteration
node_modules/typescript/lib/lib.dom.d.ts:8954
• onanimationstart: null
| (this
: GlobalEventHandlers
, ev
: AnimationEvent
) => any
Document.onanimationstart
node_modules/typescript/lib/lib.dom.d.ts:8956
• onauxclick: null
| (this
: GlobalEventHandlers
, ev
: MouseEvent
) => any
Document.onauxclick
node_modules/typescript/lib/lib.dom.d.ts:8958
• onbeforeinput: null
| (this
: GlobalEventHandlers
, ev
: InputEvent
) => any
Document.onbeforeinput
node_modules/typescript/lib/lib.dom.d.ts:8960
• onblur: null
| (this
: GlobalEventHandlers
, ev
: FocusEvent
) => any
Fires when the object loses the input focus.
Param
The focus event.
Document.onblur
node_modules/typescript/lib/lib.dom.d.ts:8967
• oncancel: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Document.oncancel
node_modules/typescript/lib/lib.dom.d.ts:8969
• oncanplay: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when playback is possible, but would require further buffering.
Param
The event.
Document.oncanplay
node_modules/typescript/lib/lib.dom.d.ts:8976
• oncanplaythrough: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Document.oncanplaythrough
node_modules/typescript/lib/lib.dom.d.ts:8978
• onchange: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Fires when the contents of the object or selection have changed.
Param
The event.
Document.onchange
node_modules/typescript/lib/lib.dom.d.ts:8985
• onclick: null
| (this
: GlobalEventHandlers
, ev
: MouseEvent
) => any
Fires when the user clicks the left mouse button on the object
Param
The mouse event.
Document.onclick
node_modules/typescript/lib/lib.dom.d.ts:8992
• onclose: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Document.onclose
node_modules/typescript/lib/lib.dom.d.ts:8994
• 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.
Document.oncontextmenu
node_modules/typescript/lib/lib.dom.d.ts:9001
• oncopy: null
| (this
: GlobalEventHandlers
, ev
: ClipboardEvent
) => any
Document.oncopy
node_modules/typescript/lib/lib.dom.d.ts:9003
• oncuechange: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Document.oncuechange
node_modules/typescript/lib/lib.dom.d.ts:9005
• oncut: null
| (this
: GlobalEventHandlers
, ev
: ClipboardEvent
) => any
Document.oncut
node_modules/typescript/lib/lib.dom.d.ts:9007
• ondblclick: null
| (this
: GlobalEventHandlers
, ev
: MouseEvent
) => any
Fires when the user double-clicks the object.
Param
The mouse event.
Document.ondblclick
node_modules/typescript/lib/lib.dom.d.ts:9014
• ondrag: null
| (this
: GlobalEventHandlers
, ev
: DragEvent
) => any
Fires on the source object continuously during a drag operation.
Param
The event.
Document.ondrag
node_modules/typescript/lib/lib.dom.d.ts:9021
• 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.
Document.ondragend
node_modules/typescript/lib/lib.dom.d.ts:9028
• 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.
Document.ondragenter
node_modules/typescript/lib/lib.dom.d.ts:9035
• 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.
Document.ondragleave
node_modules/typescript/lib/lib.dom.d.ts:9042
• 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.
Document.ondragover
node_modules/typescript/lib/lib.dom.d.ts:9049
• 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.
Document.ondragstart
node_modules/typescript/lib/lib.dom.d.ts:9056
• ondrop: null
| (this
: GlobalEventHandlers
, ev
: DragEvent
) => any
Document.ondrop
node_modules/typescript/lib/lib.dom.d.ts:9058
• ondurationchange: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the duration attribute is updated.
Param
The event.
Document.ondurationchange
node_modules/typescript/lib/lib.dom.d.ts:9065
• onemptied: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the media element is reset to its initial state.
Param
The event.
Document.onemptied
node_modules/typescript/lib/lib.dom.d.ts:9072
• onended: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the end of playback is reached.
Param
The event
Document.onended
node_modules/typescript/lib/lib.dom.d.ts:9079
• onerror: OnErrorEventHandler
Fires when an error occurs during object loading.
Param
The event.
Document.onerror
node_modules/typescript/lib/lib.dom.d.ts:9086
• onfocus: null
| (this
: GlobalEventHandlers
, ev
: FocusEvent
) => any
Fires when the object receives focus.
Param
The event.
Document.onfocus
node_modules/typescript/lib/lib.dom.d.ts:9093
• onformdata: null
| (this
: GlobalEventHandlers
, ev
: FormDataEvent
) => any
Document.onformdata
node_modules/typescript/lib/lib.dom.d.ts:9095
• onfullscreenchange: null
| (this
: Document
, ev
: Event
) => any
Document.onfullscreenchange
node_modules/typescript/lib/lib.dom.d.ts:6950
• onfullscreenerror: null
| (this
: Document
, ev
: Event
) => any
Document.onfullscreenerror
node_modules/typescript/lib/lib.dom.d.ts:6952
• ongotpointercapture: null
| (this
: GlobalEventHandlers
, ev
: PointerEvent
) => any
Document.ongotpointercapture
node_modules/typescript/lib/lib.dom.d.ts:9097
• oninput: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Document.oninput
node_modules/typescript/lib/lib.dom.d.ts:9099
• oninvalid: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Document.oninvalid
node_modules/typescript/lib/lib.dom.d.ts:9101
• onkeydown: null
| (this
: GlobalEventHandlers
, ev
: KeyboardEvent
) => any
Fires when the user presses a key.
Param
The keyboard event
Document.onkeydown
node_modules/typescript/lib/lib.dom.d.ts:9108
• onkeypress: null
| (this
: GlobalEventHandlers
, ev
: KeyboardEvent
) => any
Fires when the user presses an alphanumeric key.
Param
The event.
Deprecated
Document.onkeypress
node_modules/typescript/lib/lib.dom.d.ts:9116
• onkeyup: null
| (this
: GlobalEventHandlers
, ev
: KeyboardEvent
) => any
Fires when the user releases a key.
Param
The keyboard event
Document.onkeyup
node_modules/typescript/lib/lib.dom.d.ts:9123
• onload: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Fires immediately after the browser loads the object.
Param
The event.
Document.onload
node_modules/typescript/lib/lib.dom.d.ts:9130
• onloadeddata: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when media data is loaded at the current playback position.
Param
The event.
Document.onloadeddata
node_modules/typescript/lib/lib.dom.d.ts:9137
• onloadedmetadata: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the duration and dimensions of the media have been determined.
Param
The event.
Document.onloadedmetadata
node_modules/typescript/lib/lib.dom.d.ts:9144
• onloadstart: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when Internet Explorer begins looking for media data.
Param
The event.
Document.onloadstart
node_modules/typescript/lib/lib.dom.d.ts:9151
• onlostpointercapture: null
| (this
: GlobalEventHandlers
, ev
: PointerEvent
) => any
Document.onlostpointercapture
node_modules/typescript/lib/lib.dom.d.ts:9153
• onmousedown: null
| (this
: GlobalEventHandlers
, ev
: MouseEvent
) => any
Fires when the user clicks the object with either mouse button.
Param
The mouse event.
Document.onmousedown
node_modules/typescript/lib/lib.dom.d.ts:9160
• onmouseenter: null
| (this
: GlobalEventHandlers
, ev
: MouseEvent
) => any
Document.onmouseenter
node_modules/typescript/lib/lib.dom.d.ts:9162
• onmouseleave: null
| (this
: GlobalEventHandlers
, ev
: MouseEvent
) => any
Document.onmouseleave
node_modules/typescript/lib/lib.dom.d.ts:9164
• onmousemove: null
| (this
: GlobalEventHandlers
, ev
: MouseEvent
) => any
Fires when the user moves the mouse over the object.
Param
The mouse event.
Document.onmousemove
node_modules/typescript/lib/lib.dom.d.ts:9171
• 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.
Document.onmouseout
node_modules/typescript/lib/lib.dom.d.ts:9178
• onmouseover: null
| (this
: GlobalEventHandlers
, ev
: MouseEvent
) => any
Fires when the user moves the mouse pointer into the object.
Param
The mouse event.
Document.onmouseover
node_modules/typescript/lib/lib.dom.d.ts:9185
• 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.
Document.onmouseup
node_modules/typescript/lib/lib.dom.d.ts:9192
• onpaste: null
| (this
: GlobalEventHandlers
, ev
: ClipboardEvent
) => any
Document.onpaste
node_modules/typescript/lib/lib.dom.d.ts:9194
• onpause: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when playback is paused.
Param
The event.
Document.onpause
node_modules/typescript/lib/lib.dom.d.ts:9201
• onplay: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the play method is requested.
Param
The event.
Document.onplay
node_modules/typescript/lib/lib.dom.d.ts:9208
• onplaying: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the audio or video has started playing.
Param
The event.
Document.onplaying
node_modules/typescript/lib/lib.dom.d.ts:9215
• onpointercancel: null
| (this
: GlobalEventHandlers
, ev
: PointerEvent
) => any
Document.onpointercancel
node_modules/typescript/lib/lib.dom.d.ts:9217
• onpointerdown: null
| (this
: GlobalEventHandlers
, ev
: PointerEvent
) => any
Document.onpointerdown
node_modules/typescript/lib/lib.dom.d.ts:9219
• onpointerenter: null
| (this
: GlobalEventHandlers
, ev
: PointerEvent
) => any
Document.onpointerenter
node_modules/typescript/lib/lib.dom.d.ts:9221
• onpointerleave: null
| (this
: GlobalEventHandlers
, ev
: PointerEvent
) => any
Document.onpointerleave
node_modules/typescript/lib/lib.dom.d.ts:9223
• onpointerlockchange: null
| (this
: Document
, ev
: Event
) => any
Document.onpointerlockchange
node_modules/typescript/lib/lib.dom.d.ts:6954
• onpointerlockerror: null
| (this
: Document
, ev
: Event
) => any
Document.onpointerlockerror
node_modules/typescript/lib/lib.dom.d.ts:6956
• onpointermove: null
| (this
: GlobalEventHandlers
, ev
: PointerEvent
) => any
Document.onpointermove
node_modules/typescript/lib/lib.dom.d.ts:9225
• onpointerout: null
| (this
: GlobalEventHandlers
, ev
: PointerEvent
) => any
Document.onpointerout
node_modules/typescript/lib/lib.dom.d.ts:9227
• onpointerover: null
| (this
: GlobalEventHandlers
, ev
: PointerEvent
) => any
Document.onpointerover
node_modules/typescript/lib/lib.dom.d.ts:9229
• onpointerup: null
| (this
: GlobalEventHandlers
, ev
: PointerEvent
) => any
Document.onpointerup
node_modules/typescript/lib/lib.dom.d.ts:9231
• onprogress: null
| (this
: GlobalEventHandlers
, ev
: ProgressEvent
<EventTarget
>) => any
Occurs to indicate progress while downloading media data.
Param
The event.
Document.onprogress
node_modules/typescript/lib/lib.dom.d.ts:9238
• onratechange: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the playback rate is increased or decreased.
Param
The event.
Document.onratechange
node_modules/typescript/lib/lib.dom.d.ts:9245
• onreadystatechange: null
| (this
: Document
, ev
: Event
) => any
Fires when the state of the object has changed.
Param
The event
Document.onreadystatechange
node_modules/typescript/lib/lib.dom.d.ts:6963
• onreset: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Fires when the user resets a form.
Param
The event.
Document.onreset
node_modules/typescript/lib/lib.dom.d.ts:9252
• onresize: null
| (this
: GlobalEventHandlers
, ev
: UIEvent
) => any
Document.onresize
node_modules/typescript/lib/lib.dom.d.ts:9254
• 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.
Document.onscroll
node_modules/typescript/lib/lib.dom.d.ts:9261
• onscrollend: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Document.onscrollend
node_modules/typescript/lib/lib.dom.d.ts:9263
• onsecuritypolicyviolation: null
| (this
: GlobalEventHandlers
, ev
: SecurityPolicyViolationEvent
) => any
Document.onsecuritypolicyviolation
node_modules/typescript/lib/lib.dom.d.ts:9265
• onseeked: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the seek operation ends.
Param
The event.
Document.onseeked
node_modules/typescript/lib/lib.dom.d.ts:9272
• onseeking: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the current playback position is moved.
Param
The event.
Document.onseeking
node_modules/typescript/lib/lib.dom.d.ts:9279
• onselect: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Fires when the current selection changes.
Param
The event.
Document.onselect
node_modules/typescript/lib/lib.dom.d.ts:9286
• onselectionchange: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Document.onselectionchange
node_modules/typescript/lib/lib.dom.d.ts:9288
• onselectstart: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Document.onselectstart
node_modules/typescript/lib/lib.dom.d.ts:9290
• onslotchange: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Document.onslotchange
node_modules/typescript/lib/lib.dom.d.ts:9292
• onstalled: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the download has stopped.
Param
The event.
Document.onstalled
node_modules/typescript/lib/lib.dom.d.ts:9299
• onsubmit: null
| (this
: GlobalEventHandlers
, ev
: SubmitEvent
) => any
Document.onsubmit
node_modules/typescript/lib/lib.dom.d.ts:9301
• onsuspend: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs if the load operation has been intentionally halted.
Param
The event.
Document.onsuspend
node_modules/typescript/lib/lib.dom.d.ts:9308
• ontimeupdate: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs to indicate the current playback position.
Param
The event.
Document.ontimeupdate
node_modules/typescript/lib/lib.dom.d.ts:9315
• ontoggle: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Document.ontoggle
node_modules/typescript/lib/lib.dom.d.ts:9317
• Optional
ontouchcancel: null
| (this
: GlobalEventHandlers
, ev
: TouchEvent
) => any
Document.ontouchcancel
node_modules/typescript/lib/lib.dom.d.ts:9319
• Optional
ontouchend: null
| (this
: GlobalEventHandlers
, ev
: TouchEvent
) => any
Document.ontouchend
node_modules/typescript/lib/lib.dom.d.ts:9321
• Optional
ontouchmove: null
| (this
: GlobalEventHandlers
, ev
: TouchEvent
) => any
Document.ontouchmove
node_modules/typescript/lib/lib.dom.d.ts:9323
• Optional
ontouchstart: null
| (this
: GlobalEventHandlers
, ev
: TouchEvent
) => any
Document.ontouchstart
node_modules/typescript/lib/lib.dom.d.ts:9325
• ontransitioncancel: null
| (this
: GlobalEventHandlers
, ev
: TransitionEvent
) => any
Document.ontransitioncancel
node_modules/typescript/lib/lib.dom.d.ts:9327
• ontransitionend: null
| (this
: GlobalEventHandlers
, ev
: TransitionEvent
) => any
Document.ontransitionend
node_modules/typescript/lib/lib.dom.d.ts:9329
• ontransitionrun: null
| (this
: GlobalEventHandlers
, ev
: TransitionEvent
) => any
Document.ontransitionrun
node_modules/typescript/lib/lib.dom.d.ts:9331
• ontransitionstart: null
| (this
: GlobalEventHandlers
, ev
: TransitionEvent
) => any
Document.ontransitionstart
node_modules/typescript/lib/lib.dom.d.ts:9333
• onvisibilitychange: null
| (this
: Document
, ev
: Event
) => any
Document.onvisibilitychange
node_modules/typescript/lib/lib.dom.d.ts:6965
• onvolumechange: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the volume is changed, or playback is muted or unmuted.
Param
The event.
Document.onvolumechange
node_modules/typescript/lib/lib.dom.d.ts:9340
• 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.
Document.onwaiting
node_modules/typescript/lib/lib.dom.d.ts:9347
• onwebkitanimationend: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Deprecated
This is a legacy alias of onanimationend
.
Document.onwebkitanimationend
node_modules/typescript/lib/lib.dom.d.ts:9353
• onwebkitanimationiteration: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Deprecated
This is a legacy alias of onanimationiteration
.
Document.onwebkitanimationiteration
node_modules/typescript/lib/lib.dom.d.ts:9359
• onwebkitanimationstart: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Deprecated
This is a legacy alias of onanimationstart
.
Document.onwebkitanimationstart
node_modules/typescript/lib/lib.dom.d.ts:9365
• onwebkittransitionend: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Deprecated
This is a legacy alias of ontransitionend
.
Document.onwebkittransitionend
node_modules/typescript/lib/lib.dom.d.ts:9371
• onwheel: null
| (this
: GlobalEventHandlers
, ev
: WheelEvent
) => any
Document.onwheel
node_modules/typescript/lib/lib.dom.d.ts:9373
• Readonly
ownerDocument: null
Document.ownerDocument
node_modules/typescript/lib/lib.dom.d.ts:6966
• Readonly
parentElement: null
| HTMLElement
Returns the parent element.
Document.parentElement
node_modules/typescript/lib/lib.dom.d.ts:16130
• Readonly
parentNode: null
| ParentNode
Returns the parent.
Document.parentNode
node_modules/typescript/lib/lib.dom.d.ts:16136
• Readonly
pictureInPictureElement: null
| Element
Document.pictureInPictureElement
node_modules/typescript/lib/lib.dom.d.ts:7415
• Readonly
pictureInPictureEnabled: boolean
Document.pictureInPictureEnabled
node_modules/typescript/lib/lib.dom.d.ts:6968
• Readonly
plugins: HTMLCollectionOf
<HTMLEmbedElement
>
Return an HTMLCollection of the embed elements in the Document.
Document.plugins
node_modules/typescript/lib/lib.dom.d.ts:6974
• Readonly
pointerLockElement: null
| Element
Document.pointerLockElement
node_modules/typescript/lib/lib.dom.d.ts:7417
• Readonly
previousSibling: null
| ChildNode
Returns the previous sibling.
Document.previousSibling
node_modules/typescript/lib/lib.dom.d.ts:16142
• Readonly
readyState: DocumentReadyState
Retrieves a value that indicates the current state of the object.
Document.readyState
node_modules/typescript/lib/lib.dom.d.ts:6980
• Readonly
referrer: string
Gets the URL of the location that referred the user to the current page.
Document.referrer
node_modules/typescript/lib/lib.dom.d.ts:6986
• Readonly
rootElement: null
| SVGSVGElement
Deprecated
Document.rootElement
node_modules/typescript/lib/lib.dom.d.ts:6992
• Readonly
scripts: HTMLCollectionOf
<HTMLScriptElement
>
Retrieves a collection of all script objects in the document.
Document.scripts
node_modules/typescript/lib/lib.dom.d.ts:6998
• Readonly
scrollingElement: null
| Element
Document.scrollingElement
node_modules/typescript/lib/lib.dom.d.ts:7000
• 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.
Document.styleSheets
node_modules/typescript/lib/lib.dom.d.ts:7423
• textContent: null
| string
Document.textContent
node_modules/typescript/lib/lib.dom.d.ts:16144
• Readonly
timeline: DocumentTimeline
Document.timeline
node_modules/typescript/lib/lib.dom.d.ts:7002
• title: string
Contains the title of the document.
Document.title
node_modules/typescript/lib/lib.dom.d.ts:7008
• Readonly
visibilityState: DocumentVisibilityState
Document.visibilityState
node_modules/typescript/lib/lib.dom.d.ts:7010
• vlinkColor: string
Sets or gets the color of the links that the user has visited.
Deprecated
Document.vlinkColor
node_modules/typescript/lib/lib.dom.d.ts:7017
• get
location(): Location
Contains information about the current URL.
Document.location
node_modules/typescript/lib/lib.dom.d.ts:6947
• set
location(href
): void
Name | Type |
---|---|
href |
string | Location
|
void
Document.location
node_modules/typescript/lib/lib.dom.d.ts:6948
▸ addEventListener<K
>(type
, listener
, options?
): void
Name | Type |
---|---|
K |
extends keyof DocumentEventMap
|
Name | Type |
---|---|
type |
K |
listener |
(this : XMLDocument , ev : DocumentEventMap [K ]) => any
|
options? |
boolean | AddEventListenerOptions
|
void
Document.addEventListener
node_modules/typescript/lib/lib.dom.d.ts:26090
▸ addEventListener(type
, listener
, options?
): void
Name | Type |
---|---|
type |
string |
listener |
EventListenerOrEventListenerObject |
options? |
boolean | AddEventListenerOptions
|
void
Document.addEventListener
node_modules/typescript/lib/lib.dom.d.ts:26091
▸ 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.
Name | Type |
---|---|
T |
extends Node
|
Name | Type |
---|---|
node |
T |
T
Document.adoptNode
node_modules/typescript/lib/lib.dom.d.ts:7025
▸ 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.
Name | Type |
---|---|
...nodes |
(string | Node )[] |
void
Document.append
node_modules/typescript/lib/lib.dom.d.ts:16789
▸ appendChild<T
>(node
): T
Name | Type |
---|---|
T |
extends Node
|
Name | Type |
---|---|
node |
T |
T
Document.appendChild
node_modules/typescript/lib/lib.dom.d.ts:16146
▸ captureEvents(): void
void
Deprecated
Document.captureEvents
node_modules/typescript/lib/lib.dom.d.ts:7031
▸ caretRangeFromPoint(x
, y
): null
| Range
Name | Type |
---|---|
x |
number |
y |
number |
null
| Range
Deprecated
Document.caretRangeFromPoint
node_modules/typescript/lib/lib.dom.d.ts:7033
▸ clear(): void
void
Deprecated
Document.clear
node_modules/typescript/lib/lib.dom.d.ts:7039
▸ cloneNode(deep?
): Node
Returns a copy of node. If deep is true, the copy also includes the node's descendants.
Name | Type |
---|---|
deep? |
boolean |
Document.cloneNode
node_modules/typescript/lib/lib.dom.d.ts:16152
▸ close(): void
Closes an output stream and forces the sent data to display.
void
Document.close
node_modules/typescript/lib/lib.dom.d.ts:7045
▸ compareDocumentPosition(other
): number
Returns a bitmask indicating the position of other relative to node.
Name | Type |
---|---|
other |
Node |
number
Document.compareDocumentPosition
node_modules/typescript/lib/lib.dom.d.ts:16158
▸ contains(other
): boolean
Returns true if other is an inclusive descendant of node, and false otherwise.
Name | Type |
---|---|
other |
null | Node
|
boolean
Document.contains
node_modules/typescript/lib/lib.dom.d.ts:16164
▸ createAttribute(localName
): Attr
Creates an attribute object with a specified name.
Name | Type |
---|---|
localName |
string |
Document.createAttribute
node_modules/typescript/lib/lib.dom.d.ts:7052
▸ createAttributeNS(namespace
, qualifiedName
): Attr
Name | Type |
---|---|
namespace |
null | string
|
qualifiedName |
string |
Document.createAttributeNS
node_modules/typescript/lib/lib.dom.d.ts:7054
▸ createCDATASection(data
): CDATASection
Returns a CDATASection node whose data is data.
Name | Type |
---|---|
data |
string |
Document.createCDATASection
node_modules/typescript/lib/lib.dom.d.ts:7060
▸ createComment(data
): Comment
Creates a comment object with the specified data.
Name | Type | Description |
---|---|---|
data |
string |
Sets the comment object's data. MDN Reference |
Document.createComment
node_modules/typescript/lib/lib.dom.d.ts:7067
▸ createDocumentFragment(): DocumentFragment
Creates a new document.
Document.createDocumentFragment
node_modules/typescript/lib/lib.dom.d.ts:7073
▸ createElement<K
>(tagName
, options?
): HTMLElementTagNameMap
[K
]
Creates an instance of the element for the specified tag.
Name | Type |
---|---|
K |
extends keyof HTMLElementTagNameMap
|
Name | Type | Description |
---|---|---|
tagName |
K |
The name of an element. MDN Reference |
options? |
ElementCreationOptions |
- |
Document.createElement
node_modules/typescript/lib/lib.dom.d.ts:7080
▸ createElement<K
>(tagName
, options?
): HTMLElementDeprecatedTagNameMap
[K
]
Name | Type |
---|---|
K |
extends keyof HTMLElementDeprecatedTagNameMap
|
Name | Type |
---|---|
tagName |
K |
options? |
ElementCreationOptions |
HTMLElementDeprecatedTagNameMap
[K
]
Deprecated
Document.createElement
node_modules/typescript/lib/lib.dom.d.ts:7082
▸ createElement(tagName
, options?
): HTMLElement
Name | Type |
---|---|
tagName |
string |
options? |
ElementCreationOptions |
Document.createElement
node_modules/typescript/lib/lib.dom.d.ts:7083
▸ 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.
Name | Type |
---|---|
namespaceURI |
"http://www.w3.org/1999/xhtml" |
qualifiedName |
string |
Document.createElementNS
node_modules/typescript/lib/lib.dom.d.ts:7101
▸ createElementNS<K
>(namespaceURI
, qualifiedName
): SVGElementTagNameMap
[K
]
Name | Type |
---|---|
K |
extends keyof SVGElementTagNameMap
|
Name | Type |
---|---|
namespaceURI |
"http://www.w3.org/2000/svg" |
qualifiedName |
K |
Document.createElementNS
node_modules/typescript/lib/lib.dom.d.ts:7102
▸ createElementNS(namespaceURI
, qualifiedName
): SVGElement
Name | Type |
---|---|
namespaceURI |
"http://www.w3.org/2000/svg" |
qualifiedName |
string |
Document.createElementNS
node_modules/typescript/lib/lib.dom.d.ts:7103
▸ createElementNS<K
>(namespaceURI
, qualifiedName
): MathMLElementTagNameMap
[K
]
Name | Type |
---|---|
K |
extends keyof MathMLElementTagNameMap
|
Name | Type |
---|---|
namespaceURI |
"http://www.w3.org/1998/Math/MathML" |
qualifiedName |
K |
Document.createElementNS
node_modules/typescript/lib/lib.dom.d.ts:7104
▸ createElementNS(namespaceURI
, qualifiedName
): MathMLElement
Name | Type |
---|---|
namespaceURI |
"http://www.w3.org/1998/Math/MathML" |
qualifiedName |
string |
Document.createElementNS
node_modules/typescript/lib/lib.dom.d.ts:7105
▸ createElementNS(namespaceURI
, qualifiedName
, options?
): Element
Name | Type |
---|---|
namespaceURI |
null | string
|
qualifiedName |
string |
options? |
ElementCreationOptions |
Document.createElementNS
node_modules/typescript/lib/lib.dom.d.ts:7106
▸ createElementNS(namespace
, qualifiedName
, options?
): Element
Name | Type |
---|---|
namespace |
null | string
|
qualifiedName |
string |
options? |
string | ElementCreationOptions
|
Document.createElementNS
node_modules/typescript/lib/lib.dom.d.ts:7107
▸ createEvent(eventInterface
): AnimationEvent
Name | Type |
---|---|
eventInterface |
"AnimationEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7109
▸ createEvent(eventInterface
): AnimationPlaybackEvent
Name | Type |
---|---|
eventInterface |
"AnimationPlaybackEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7110
▸ createEvent(eventInterface
): AudioProcessingEvent
Name | Type |
---|---|
eventInterface |
"AudioProcessingEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7111
▸ createEvent(eventInterface
): BeforeUnloadEvent
Name | Type |
---|---|
eventInterface |
"BeforeUnloadEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7112
▸ createEvent(eventInterface
): BlobEvent
Name | Type |
---|---|
eventInterface |
"BlobEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7113
▸ createEvent(eventInterface
): ClipboardEvent
Name | Type |
---|---|
eventInterface |
"ClipboardEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7114
▸ createEvent(eventInterface
): CloseEvent
Name | Type |
---|---|
eventInterface |
"CloseEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7115
▸ createEvent(eventInterface
): CompositionEvent
Name | Type |
---|---|
eventInterface |
"CompositionEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7116
▸ createEvent(eventInterface
): CustomEvent
<any
>
Name | Type |
---|---|
eventInterface |
"CustomEvent" |
CustomEvent
<any
>
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7117
▸ createEvent(eventInterface
): DeviceMotionEvent
Name | Type |
---|---|
eventInterface |
"DeviceMotionEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7118
▸ createEvent(eventInterface
): DeviceOrientationEvent
Name | Type |
---|---|
eventInterface |
"DeviceOrientationEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7119
▸ createEvent(eventInterface
): DragEvent
Name | Type |
---|---|
eventInterface |
"DragEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7120
▸ createEvent(eventInterface
): ErrorEvent
Name | Type |
---|---|
eventInterface |
"ErrorEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7121
▸ createEvent(eventInterface
): Event
Name | Type |
---|---|
eventInterface |
"Event" |
Event
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7122
▸ createEvent(eventInterface
): Event
Name | Type |
---|---|
eventInterface |
"Events" |
Event
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7123
▸ createEvent(eventInterface
): FocusEvent
Name | Type |
---|---|
eventInterface |
"FocusEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7124
▸ createEvent(eventInterface
): FontFaceSetLoadEvent
Name | Type |
---|---|
eventInterface |
"FontFaceSetLoadEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7125
▸ createEvent(eventInterface
): FormDataEvent
Name | Type |
---|---|
eventInterface |
"FormDataEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7126
▸ createEvent(eventInterface
): GamepadEvent
Name | Type |
---|---|
eventInterface |
"GamepadEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7127
▸ createEvent(eventInterface
): HashChangeEvent
Name | Type |
---|---|
eventInterface |
"HashChangeEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7128
▸ createEvent(eventInterface
): IDBVersionChangeEvent
Name | Type |
---|---|
eventInterface |
"IDBVersionChangeEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7129
▸ createEvent(eventInterface
): InputEvent
Name | Type |
---|---|
eventInterface |
"InputEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7130
▸ createEvent(eventInterface
): KeyboardEvent
Name | Type |
---|---|
eventInterface |
"KeyboardEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7131
▸ createEvent(eventInterface
): MIDIConnectionEvent
Name | Type |
---|---|
eventInterface |
"MIDIConnectionEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7132
▸ createEvent(eventInterface
): MIDIMessageEvent
Name | Type |
---|---|
eventInterface |
"MIDIMessageEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7133
▸ createEvent(eventInterface
): MediaEncryptedEvent
Name | Type |
---|---|
eventInterface |
"MediaEncryptedEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7134
▸ createEvent(eventInterface
): MediaKeyMessageEvent
Name | Type |
---|---|
eventInterface |
"MediaKeyMessageEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7135
▸ createEvent(eventInterface
): MediaQueryListEvent
Name | Type |
---|---|
eventInterface |
"MediaQueryListEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7136
▸ createEvent(eventInterface
): MediaStreamTrackEvent
Name | Type |
---|---|
eventInterface |
"MediaStreamTrackEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7137
▸ createEvent(eventInterface
): MessageEvent
<any
>
Name | Type |
---|---|
eventInterface |
"MessageEvent" |
MessageEvent
<any
>
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7138
▸ createEvent(eventInterface
): MouseEvent
Name | Type |
---|---|
eventInterface |
"MouseEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7139
▸ createEvent(eventInterface
): MouseEvent
Name | Type |
---|---|
eventInterface |
"MouseEvents" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7140
▸ createEvent(eventInterface
): MutationEvent
Name | Type |
---|---|
eventInterface |
"MutationEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7141
▸ createEvent(eventInterface
): MutationEvent
Name | Type |
---|---|
eventInterface |
"MutationEvents" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7142
▸ createEvent(eventInterface
): OfflineAudioCompletionEvent
Name | Type |
---|---|
eventInterface |
"OfflineAudioCompletionEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7143
▸ createEvent(eventInterface
): PageTransitionEvent
Name | Type |
---|---|
eventInterface |
"PageTransitionEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7144
▸ createEvent(eventInterface
): PaymentMethodChangeEvent
Name | Type |
---|---|
eventInterface |
"PaymentMethodChangeEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7145
▸ createEvent(eventInterface
): PaymentRequestUpdateEvent
Name | Type |
---|---|
eventInterface |
"PaymentRequestUpdateEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7146
▸ createEvent(eventInterface
): PictureInPictureEvent
Name | Type |
---|---|
eventInterface |
"PictureInPictureEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7147
▸ createEvent(eventInterface
): PointerEvent
Name | Type |
---|---|
eventInterface |
"PointerEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7148
▸ createEvent(eventInterface
): PopStateEvent
Name | Type |
---|---|
eventInterface |
"PopStateEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7149
▸ createEvent(eventInterface
): ProgressEvent
<EventTarget
>
Name | Type |
---|---|
eventInterface |
"ProgressEvent" |
ProgressEvent
<EventTarget
>
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7150
▸ createEvent(eventInterface
): PromiseRejectionEvent
Name | Type |
---|---|
eventInterface |
"PromiseRejectionEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7151
▸ createEvent(eventInterface
): RTCDTMFToneChangeEvent
Name | Type |
---|---|
eventInterface |
"RTCDTMFToneChangeEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7152
▸ createEvent(eventInterface
): RTCDataChannelEvent
Name | Type |
---|---|
eventInterface |
"RTCDataChannelEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7153
▸ createEvent(eventInterface
): RTCErrorEvent
Name | Type |
---|---|
eventInterface |
"RTCErrorEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7154
▸ createEvent(eventInterface
): RTCPeerConnectionIceErrorEvent
Name | Type |
---|---|
eventInterface |
"RTCPeerConnectionIceErrorEvent" |
RTCPeerConnectionIceErrorEvent
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7155
▸ createEvent(eventInterface
): RTCPeerConnectionIceEvent
Name | Type |
---|---|
eventInterface |
"RTCPeerConnectionIceEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7156
▸ createEvent(eventInterface
): RTCTrackEvent
Name | Type |
---|---|
eventInterface |
"RTCTrackEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7157
▸ createEvent(eventInterface
): SecurityPolicyViolationEvent
Name | Type |
---|---|
eventInterface |
"SecurityPolicyViolationEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7158
▸ createEvent(eventInterface
): SpeechSynthesisErrorEvent
Name | Type |
---|---|
eventInterface |
"SpeechSynthesisErrorEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7159
▸ createEvent(eventInterface
): SpeechSynthesisEvent
Name | Type |
---|---|
eventInterface |
"SpeechSynthesisEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7160
▸ createEvent(eventInterface
): StorageEvent
Name | Type |
---|---|
eventInterface |
"StorageEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7161
▸ createEvent(eventInterface
): SubmitEvent
Name | Type |
---|---|
eventInterface |
"SubmitEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7162
▸ createEvent(eventInterface
): ToggleEvent
Name | Type |
---|---|
eventInterface |
"ToggleEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7163
▸ createEvent(eventInterface
): TouchEvent
Name | Type |
---|---|
eventInterface |
"TouchEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7164
▸ createEvent(eventInterface
): TrackEvent
Name | Type |
---|---|
eventInterface |
"TrackEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7165
▸ createEvent(eventInterface
): TransitionEvent
Name | Type |
---|---|
eventInterface |
"TransitionEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7166
▸ createEvent(eventInterface
): UIEvent
Name | Type |
---|---|
eventInterface |
"UIEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7167
▸ createEvent(eventInterface
): UIEvent
Name | Type |
---|---|
eventInterface |
"UIEvents" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7168
▸ createEvent(eventInterface
): WebGLContextEvent
Name | Type |
---|---|
eventInterface |
"WebGLContextEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7169
▸ createEvent(eventInterface
): WheelEvent
Name | Type |
---|---|
eventInterface |
"WheelEvent" |
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7170
▸ createEvent(eventInterface
): Event
Name | Type |
---|---|
eventInterface |
string |
Event
Document.createEvent
node_modules/typescript/lib/lib.dom.d.ts:7171
▸ createExpression(expression
, resolver?
): XPathExpression
Name | Type |
---|---|
expression |
string |
resolver? |
null | XPathNSResolver
|
Document.createExpression
node_modules/typescript/lib/lib.dom.d.ts:26326
▸ createNSResolver(nodeResolver
): Node
Name | Type |
---|---|
nodeResolver |
Node |
Document.createNSResolver
node_modules/typescript/lib/lib.dom.d.ts:26328
▸ createNodeIterator(root
, whatToShow?
, filter?
): NodeIterator
Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.
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 |
Document.createNodeIterator
node_modules/typescript/lib/lib.dom.d.ts:7180
▸ 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.
Name | Type |
---|---|
target |
string |
data |
string |
Document.createProcessingInstruction
node_modules/typescript/lib/lib.dom.d.ts:7186
▸ createRange(): Range
Returns an empty range object that has both of its boundary points positioned at the beginning of the document.
Document.createRange
node_modules/typescript/lib/lib.dom.d.ts:7192
▸ createTextNode(data
): Text
Creates a text string from the specified value.
Name | Type | Description |
---|---|---|
data |
string |
String that specifies the nodeValue property of the text node. MDN Reference |
Document.createTextNode
node_modules/typescript/lib/lib.dom.d.ts:7199
▸ createTreeWalker(root
, whatToShow?
, filter?
): TreeWalker
Creates a TreeWalker object that you can use to traverse filtered lists of nodes or elements in a document.
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 |
Document.createTreeWalker
node_modules/typescript/lib/lib.dom.d.ts:7208
▸ 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.
Name | Type |
---|---|
event |
Event |
boolean
Document.dispatchEvent
node_modules/typescript/lib/lib.dom.d.ts:8217
▸ elementFromPoint(x
, y
): null
| Element
Returns the element for the specified x coordinate and the specified y coordinate.
Name | Type | Description |
---|---|---|
x |
number |
The x-offset |
y |
number |
The y-offset |
null
| Element
Document.elementFromPoint
node_modules/typescript/lib/lib.dom.d.ts:7429
▸ elementsFromPoint(x
, y
): Element
[]
Name | Type |
---|---|
x |
number |
y |
number |
Element
[]
Document.elementsFromPoint
node_modules/typescript/lib/lib.dom.d.ts:7430
▸ evaluate(expression
, contextNode
, resolver?
, type?
, result?
): XPathResult
Name | Type |
---|---|
expression |
string |
contextNode |
Node |
resolver? |
null | XPathNSResolver
|
type? |
number |
result? |
null | XPathResult
|
Document.evaluate
node_modules/typescript/lib/lib.dom.d.ts:26330
▸ execCommand(commandId
, showUI?
, value?
): boolean
Executes a command on the current document, current selection, or the given range.
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. |
boolean
Deprecated
Document.execCommand
node_modules/typescript/lib/lib.dom.d.ts:7218
▸ exitFullscreen(): Promise
<void
>
Stops document's fullscreen element from being displayed fullscreen and resolves promise when done.
Promise
<void
>
Document.exitFullscreen
node_modules/typescript/lib/lib.dom.d.ts:7224
▸ exitPictureInPicture(): Promise
<void
>
Promise
<void
>
Document.exitPictureInPicture
node_modules/typescript/lib/lib.dom.d.ts:7226
▸ exitPointerLock(): void
void
Document.exitPointerLock
node_modules/typescript/lib/lib.dom.d.ts:7228
▸ getAnimations(): Animation
[]
Document.getAnimations
node_modules/typescript/lib/lib.dom.d.ts:7432
▸ getElementById(elementId
): null
| HTMLElement
Returns a reference to the first object with the specified value of the ID attribute.
Name | Type | Description |
---|---|---|
elementId |
string |
String that specifies the ID value. |
null
| HTMLElement
Document.getElementById
node_modules/typescript/lib/lib.dom.d.ts:7233
▸ 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.
Name | Type |
---|---|
classNames |
string |
Document.getElementsByClassName
node_modules/typescript/lib/lib.dom.d.ts:7239
▸ getElementsByName(elementName
): NodeListOf
<HTMLElement
>
Gets a collection of objects based on the value of the NAME or ID attribute.
Name | Type | Description |
---|---|---|
elementName |
string |
Gets a collection of objects based on the value of the NAME or ID attribute. MDN Reference |
Document.getElementsByName
node_modules/typescript/lib/lib.dom.d.ts:7246
▸ getElementsByTagName<K
>(qualifiedName
): HTMLCollectionOf
<HTMLElementTagNameMap
[K
]>
Retrieves a collection of objects based on the specified element name.
Name | Type |
---|---|
K |
extends keyof HTMLElementTagNameMap
|
Name | Type |
---|---|
qualifiedName |
K |
HTMLCollectionOf
<HTMLElementTagNameMap
[K
]>
Document.getElementsByTagName
node_modules/typescript/lib/lib.dom.d.ts:7253
▸ getElementsByTagName<K
>(qualifiedName
): HTMLCollectionOf
<SVGElementTagNameMap
[K
]>
Name | Type |
---|---|
K |
extends keyof SVGElementTagNameMap
|
Name | Type |
---|---|
qualifiedName |
K |
HTMLCollectionOf
<SVGElementTagNameMap
[K
]>
Document.getElementsByTagName
node_modules/typescript/lib/lib.dom.d.ts:7254
▸ getElementsByTagName<K
>(qualifiedName
): HTMLCollectionOf
<MathMLElementTagNameMap
[K
]>
Name | Type |
---|---|
K |
extends keyof MathMLElementTagNameMap
|
Name | Type |
---|---|
qualifiedName |
K |
HTMLCollectionOf
<MathMLElementTagNameMap
[K
]>
Document.getElementsByTagName
node_modules/typescript/lib/lib.dom.d.ts:7255
▸ getElementsByTagName<K
>(qualifiedName
): HTMLCollectionOf
<HTMLElementDeprecatedTagNameMap
[K
]>
Name | Type |
---|---|
K |
extends keyof HTMLElementDeprecatedTagNameMap
|
Name | Type |
---|---|
qualifiedName |
K |
HTMLCollectionOf
<HTMLElementDeprecatedTagNameMap
[K
]>
Deprecated
Document.getElementsByTagName
node_modules/typescript/lib/lib.dom.d.ts:7257
▸ getElementsByTagName(qualifiedName
): HTMLCollectionOf
<Element
>
Name | Type |
---|---|
qualifiedName |
string |
Document.getElementsByTagName
node_modules/typescript/lib/lib.dom.d.ts:7258
▸ 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.
Name | Type |
---|---|
namespaceURI |
"http://www.w3.org/1999/xhtml" |
localName |
string |
Document.getElementsByTagNameNS
node_modules/typescript/lib/lib.dom.d.ts:7270
▸ getElementsByTagNameNS(namespaceURI
, localName
): HTMLCollectionOf
<SVGElement
>
Name | Type |
---|---|
namespaceURI |
"http://www.w3.org/2000/svg" |
localName |
string |
Document.getElementsByTagNameNS
node_modules/typescript/lib/lib.dom.d.ts:7271
▸ getElementsByTagNameNS(namespaceURI
, localName
): HTMLCollectionOf
<MathMLElement
>
Name | Type |
---|---|
namespaceURI |
"http://www.w3.org/1998/Math/MathML" |
localName |
string |
HTMLCollectionOf
<MathMLElement
>
Document.getElementsByTagNameNS
node_modules/typescript/lib/lib.dom.d.ts:7272
▸ getElementsByTagNameNS(namespace
, localName
): HTMLCollectionOf
<Element
>
Name | Type |
---|---|
namespace |
null | string
|
localName |
string |
Document.getElementsByTagNameNS
node_modules/typescript/lib/lib.dom.d.ts:7273
▸ getRootNode(options?
): Node
Returns node's root.
Name | Type |
---|---|
options? |
GetRootNodeOptions |
Document.getRootNode
node_modules/typescript/lib/lib.dom.d.ts:16170
▸ getSelection(): null
| Selection
Returns an object representing the current selection of the document that is loaded into the object displaying a webpage.
null
| Selection
Document.getSelection
node_modules/typescript/lib/lib.dom.d.ts:7279
▸ hasChildNodes(): boolean
Returns whether node has children.
boolean
Document.hasChildNodes
node_modules/typescript/lib/lib.dom.d.ts:16176
▸ hasFocus(): boolean
Gets a value indicating whether the object currently has focus.
boolean
Document.hasFocus
node_modules/typescript/lib/lib.dom.d.ts:7285
▸ hasStorageAccess(): Promise
<boolean
>
Promise
<boolean
>
Document.hasStorageAccess
node_modules/typescript/lib/lib.dom.d.ts:7287
▸ 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.
Name | Type |
---|---|
T |
extends Node
|
Name | Type |
---|---|
node |
T |
deep? |
boolean |
T
Document.importNode
node_modules/typescript/lib/lib.dom.d.ts:7295
▸ insertBefore<T
>(node
, child
): T
Name | Type |
---|---|
T |
extends Node
|
Name | Type |
---|---|
node |
T |
child |
null | Node
|
T
Document.insertBefore
node_modules/typescript/lib/lib.dom.d.ts:16178
▸ isDefaultNamespace(namespace
): boolean
Name | Type |
---|---|
namespace |
null | string
|
boolean
Document.isDefaultNamespace
node_modules/typescript/lib/lib.dom.d.ts:16180
▸ isEqualNode(otherNode
): boolean
Returns whether node and otherNode have the same properties.
Name | Type |
---|---|
otherNode |
null | Node
|
boolean
Document.isEqualNode
node_modules/typescript/lib/lib.dom.d.ts:16186
▸ isSameNode(otherNode
): boolean
Name | Type |
---|---|
otherNode |
null | Node
|
boolean
Document.isSameNode
node_modules/typescript/lib/lib.dom.d.ts:16188
▸ lookupNamespaceURI(prefix
): null
| string
Name | Type |
---|---|
prefix |
null | string
|
null
| string
Document.lookupNamespaceURI
node_modules/typescript/lib/lib.dom.d.ts:16190
▸ lookupPrefix(namespace
): null
| string
Name | Type |
---|---|
namespace |
null | string
|
null
| string
Document.lookupPrefix
node_modules/typescript/lib/lib.dom.d.ts:16192
▸ normalize(): void
Removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes.
void
Document.normalize
node_modules/typescript/lib/lib.dom.d.ts:16198
▸ 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.
Name | Type |
---|---|
unused1? |
string |
unused2? |
string |
Document.open
node_modules/typescript/lib/lib.dom.d.ts:7305
▸ open(url
, name
, features
): null
| Window
Name | Type |
---|---|
url |
string | URL
|
name |
string |
features |
string |
null
| Window
Document.open
node_modules/typescript/lib/lib.dom.d.ts:7306
▸ 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.
Name | Type |
---|---|
...nodes |
(string | Node )[] |
void
Document.prepend
node_modules/typescript/lib/lib.dom.d.ts:16797
▸ 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.
Name | Type | Description |
---|---|---|
commandId |
string |
Specifies a command identifier. |
boolean
Deprecated
Document.queryCommandEnabled
node_modules/typescript/lib/lib.dom.d.ts:7314
▸ queryCommandIndeterm(commandId
): boolean
Returns a Boolean value that indicates whether the specified command is in the indeterminate state.
Name | Type | Description |
---|---|---|
commandId |
string |
String that specifies a command identifier. |
boolean
Deprecated
Document.queryCommandIndeterm
node_modules/typescript/lib/lib.dom.d.ts:7322
▸ queryCommandState(commandId
): boolean
Returns a Boolean value that indicates the current state of the command.
Name | Type | Description |
---|---|---|
commandId |
string |
String that specifies a command identifier. |
boolean
Deprecated
Document.queryCommandState
node_modules/typescript/lib/lib.dom.d.ts:7330
▸ queryCommandSupported(commandId
): boolean
Returns a Boolean value that indicates whether the current command is supported on the current range.
Name | Type | Description |
---|---|---|
commandId |
string |
Specifies a command identifier. |
boolean
Deprecated
Document.queryCommandSupported
node_modules/typescript/lib/lib.dom.d.ts:7338
▸ queryCommandValue(commandId
): string
Returns the current value of the document, range, or current selection for the given command.
Name | Type | Description |
---|---|---|
commandId |
string |
String that specifies a command identifier. |
string
Deprecated
Document.queryCommandValue
node_modules/typescript/lib/lib.dom.d.ts:7346
▸ querySelector<K
>(selectors
): null
| HTMLElementTagNameMap
[K
]
Returns the first element that is a descendant of node that matches selectors.
Name | Type |
---|---|
K |
extends keyof HTMLElementTagNameMap
|
Name | Type |
---|---|
selectors |
K |
null
| HTMLElementTagNameMap
[K
]
Document.querySelector
node_modules/typescript/lib/lib.dom.d.ts:16803
▸ querySelector<K
>(selectors
): null
| SVGElementTagNameMap
[K
]
Name | Type |
---|---|
K |
extends keyof SVGElementTagNameMap
|
Name | Type |
---|---|
selectors |
K |
null
| SVGElementTagNameMap
[K
]
Document.querySelector
node_modules/typescript/lib/lib.dom.d.ts:16804
▸ querySelector<K
>(selectors
): null
| MathMLElementTagNameMap
[K
]
Name | Type |
---|---|
K |
extends keyof MathMLElementTagNameMap
|
Name | Type |
---|---|
selectors |
K |
null
| MathMLElementTagNameMap
[K
]
Document.querySelector
node_modules/typescript/lib/lib.dom.d.ts:16805
▸ querySelector<K
>(selectors
): null
| HTMLElementDeprecatedTagNameMap
[K
]
Name | Type |
---|---|
K |
extends keyof HTMLElementDeprecatedTagNameMap
|
Name | Type |
---|---|
selectors |
K |
null
| HTMLElementDeprecatedTagNameMap
[K
]
Deprecated
Document.querySelector
node_modules/typescript/lib/lib.dom.d.ts:16807
▸ querySelector<E
>(selectors
): null
| E
Name | Type |
---|---|
E |
extends Element = Element
|
Name | Type |
---|---|
selectors |
string |
null
| E
Document.querySelector
node_modules/typescript/lib/lib.dom.d.ts:16808
▸ querySelectorAll<K
>(selectors
): NodeListOf
<HTMLElementTagNameMap
[K
]>
Returns all element descendants of node that match selectors.
Name | Type |
---|---|
K |
extends keyof HTMLElementTagNameMap
|
Name | Type |
---|---|
selectors |
K |
NodeListOf
<HTMLElementTagNameMap
[K
]>
Document.querySelectorAll
node_modules/typescript/lib/lib.dom.d.ts:16814
▸ querySelectorAll<K
>(selectors
): NodeListOf
<SVGElementTagNameMap
[K
]>
Name | Type |
---|---|
K |
extends keyof SVGElementTagNameMap
|
Name | Type |
---|---|
selectors |
K |
NodeListOf
<SVGElementTagNameMap
[K
]>
Document.querySelectorAll
node_modules/typescript/lib/lib.dom.d.ts:16815
▸ querySelectorAll<K
>(selectors
): NodeListOf
<MathMLElementTagNameMap
[K
]>
Name | Type |
---|---|
K |
extends keyof MathMLElementTagNameMap
|
Name | Type |
---|---|
selectors |
K |
NodeListOf
<MathMLElementTagNameMap
[K
]>
Document.querySelectorAll
node_modules/typescript/lib/lib.dom.d.ts:16816
▸ querySelectorAll<K
>(selectors
): NodeListOf
<HTMLElementDeprecatedTagNameMap
[K
]>
Name | Type |
---|---|
K |
extends keyof HTMLElementDeprecatedTagNameMap
|
Name | Type |
---|---|
selectors |
K |
NodeListOf
<HTMLElementDeprecatedTagNameMap
[K
]>
Deprecated
Document.querySelectorAll
node_modules/typescript/lib/lib.dom.d.ts:16818
▸ querySelectorAll<E
>(selectors
): NodeListOf
<E
>
Name | Type |
---|---|
E |
extends Element = Element
|
Name | Type |
---|---|
selectors |
string |
NodeListOf
<E
>
Document.querySelectorAll
node_modules/typescript/lib/lib.dom.d.ts:16819
▸ releaseEvents(): void
void
Deprecated
Document.releaseEvents
node_modules/typescript/lib/lib.dom.d.ts:7352
▸ removeChild<T
>(child
): T
Name | Type |
---|---|
T |
extends Node
|
Name | Type |
---|---|
child |
T |
T
Document.removeChild
node_modules/typescript/lib/lib.dom.d.ts:16200
▸ removeEventListener<K
>(type
, listener
, options?
): void
Name | Type |
---|---|
K |
extends keyof DocumentEventMap
|
Name | Type |
---|---|
type |
K |
listener |
(this : XMLDocument , ev : DocumentEventMap [K ]) => any
|
options? |
boolean | EventListenerOptions
|
void
Document.removeEventListener
node_modules/typescript/lib/lib.dom.d.ts:26092
▸ removeEventListener(type
, listener
, options?
): void
Name | Type |
---|---|
type |
string |
listener |
EventListenerOrEventListenerObject |
options? |
boolean | EventListenerOptions
|
void
Document.removeEventListener
node_modules/typescript/lib/lib.dom.d.ts:26093
▸ replaceChild<T
>(node
, child
): T
Name | Type |
---|---|
T |
extends Node
|
Name | Type |
---|---|
node |
Node |
child |
T |
T
Document.replaceChild
node_modules/typescript/lib/lib.dom.d.ts:16202
▸ 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.
Name | Type |
---|---|
...nodes |
(string | Node )[] |
void
Document.replaceChildren
node_modules/typescript/lib/lib.dom.d.ts:16827
▸ requestStorageAccess(): Promise
<void
>
Promise
<void
>
Document.requestStorageAccess
node_modules/typescript/lib/lib.dom.d.ts:7354
▸ write(...text
): void
Writes one or more HTML expressions to a document in the specified window.
Name | Type |
---|---|
...text |
string [] |
void
Document.write
node_modules/typescript/lib/lib.dom.d.ts:7361
▸ writeln(...text
): void
Writes one or more HTML expressions, followed by a carriage return, to a document in the specified window.
Name | Type |
---|---|
...text |
string [] |
void
Document.writeln
node_modules/typescript/lib/lib.dom.d.ts:7368
- @ralphschuler/ai-function-caller
- index
- types/AIFunction
- types/Message
- @ralphschuler/assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- error
- index
- util
- @ralphschuler/better-map
- @ralphschuler/better-set
- @ralphschuler/binary-serializer
- @ralphschuler/bit-mask
- @ralphschuler/complex-compare
- @ralphschuler/i811n
- @ralphschuler/logger
- Color
- ColorMap
- Logger
- animations/BallonAnimation
- animations/BaseAnimation
- animations/BombAnimation
- animations/BouncingBallAnimation
- animations/ClockAnimation
- animations/DotsAnimation
- animations/HorizontalBarAnimation
- animations/PongAnimation
- animations/ProgressAnimation
- animations/ProgressBarAnimation
- animations/SpinnerAnimation
- animations/VerticalBarAnimation
- enums/LogLevel
- index
- interfaces/IColor
- interfaces/IMessage
- types/ColorName
- types/Colors
- @ralphschuler/lsystem
- @ralphschuler/mixin-class-factory
- @ralphschuler/neuronal-network
- @ralphschuler/parser-combinator
- index
- inputTypes
- parser
- unicode
- @ralphschuler/prom-metrics-decorator
- @ralphschuler/prom-metrics-parser
- @ralphschuler/random
- PseudoRandomItemSelector
- PseudoRandomNumberGenerator
- Seed
- index
- strategies
- strategy
- strategy
- strategy
- strategy
- strategy
- strategy
- types
- type
- type
- type
- @ralphschuler/safe-array
- @ralphschuler/slot-mashine
- @ralphschuler/state-store
- StateStore
- index
- type
- type
- type
- type
- type
- type
- type
- type
- util
- @ralphschuler/stats-tracker
- @ralphschuler/ts-error
- error
- index
- type
- util
- util
- util
- util
- @ralphschuler/webgl-sand-engine
- index
- pixel-renderer
- @ralphschuler/webgl-shader-factory
- "node:stream/consumers"
- "node:stream/promises"
- ChatCompletionSnapshot
- Choice
- Message
- ToolCall
- EventEmitter
- FormData
- OpenAI
- OpenAI
- Audio
- Speech
- Transcriptions
- Translations
- Beta
- Assistants
- Assistant
- AssistantCreateParams
- AssistantUpdateParams
- Files
- Chat
- Threads
- Messages
- Files
- MessageContentImageFile
- MessageContentText
- Text
- FileCitation
- FilePath
- Runs
- RequiredActionFunctionToolCall
- Run
- RequiredAction
- RunCreateParams
- RunSubmitToolOutputsParams
- Steps
- CodeToolCall
- CodeInterpreter
- Image
- FunctionToolCall
- MessageCreationStepDetails
- RunStep
- ThreadCreateAndRunParams
- Thread
- ThreadCreateParams
- Chat
- Completions
- ChatCompletion
- ChatCompletionAssistantMessageParam
- ChatCompletionChunk
- Choice
- Delta
- ToolCall
- ChatCompletionContentPartImage
- ChatCompletionCreateParams
- ChatCompletionMessage
- ChatCompletionMessageToolCall
- ChatCompletionNamedToolChoice
- Completions
- CompletionChoice
- CompletionCreateParams
- Edits
- Edit
- Embeddings
- CreateEmbeddingResponse
- Files
- FineTunes
- FineTune
- FineTuneCreateParams
- FineTuneListEventsParams
- FineTuning
- Jobs
- FineTuningJob
- JobCreateParams
- Images
- Models
- Moderations
- Moderation
- internal
- finished
- pipeline
- "node:stream/consumers"
- "node:stream/promises"
- EventEmitter
- internal
- finished
- pipeline
- Counter
- Gauge
- Histogram
- Summary