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 to 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.