Package-level declarations
Types
The CaretPosition interface represents the caret position, an indicator for the text insertion point.
The CDATASection interface represents a CDATA section that can be used within XML to include extended portions of unescaped text.
The CharacterData abstract interface represents a Node object that contains characters.
The Comment interface represents textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view.
The Document interface represents any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree.
The DocumentFragment interface represents a minimal document object that has no parent.
The DocumentType interface represents a Node containing a doctype.
The DOMImplementation interface represents an object providing methods which are not dependent on any particular document.
The DOMStringList interface is a legacy type returned by some APIs and represents a non-modifiable list of strings (DOMString).
The DOMStringMap interface is used for the HTMLElement.dataset attribute, to represent data for custom attributes added to elements.
The DOMTokenList interface represents a set of space-separated tokens.
Element is the most general base class from which all element objects (i.e., objects that represent elements) in a Document inherit.
Union of:
Union of:
The NamedNodeMap interface represents a collection of Attr objects.
The DOM Node interface is an abstract base class upon which many other DOM API objects are based, thus letting those object types be used similarly and often interchangeably.
The NodeIterator interface represents an iterator to traverse nodes of a DOM subtree in document order.
The ProcessingInstruction interface represents a processing instruction; that is, a Node which embeds an instruction targeting a specific application but that can be ignored by any other applications which don't recognize the instruction.
The Text interface represents a text Node in a DOM tree.
The TreeWalker object represents the nodes of a document subtree and a position within them.
Properties
Functions
The Document method exitFullscreen() requests that the element on this document which is currently being presented in fullscreen mode be taken out of fullscreen mode, restoring the previous state of the screen.
The exitPictureInPicture() method of the Document interface requests that a video contained in this document, which is currently floating, be taken out of picture-in-picture mode, restoring the previous state of the screen.
The Window.getComputedStyle() method returns a live read-only CSSStyleProperties object containing the resolved values of all CSS properties of an element, after applying active stylesheets and resolving any computation those values may contain.
The hasStorageAccess() method of the Document interface returns a Promise that resolves with a boolean value indicating whether the document has access to third-party, unpartitioned cookies.
The Element.requestFullscreen() method issues an asynchronous request to make the element be displayed in fullscreen mode.
The requestPointerLock() method of the Element interface lets you asynchronously ask for the pointer to be locked on the given element.
The requestStorageAccess() method of the Document interface allows content loaded in a third-party context (i.e., embedded in an iframe) to request access to third-party cookies and unpartitioned state.