DOM - API
About
The DOM API is a specification that specifies all classes and function to manipulate the DOM tree.
Environment
The DOM API is present natively in browser and may be implemented via a library in other application/environment. See the dedicated page
Features
The following features are defined in the DOM specification: EventInit dictionary type
Interface
- Attr
- Comment
- DOMImplementation
- DocumentFragment
- DocumentType
- ChildNode
- ProcessingInstruction
- Text
- DOMStringMap - a set of name-value pairs
- DOMTokenList
- DOMSettableTokenList
- EventTarget
Method
- item()
- createDocument()
- createHTMLDocument()
- createElement()
- createElementNS()
- insertBefore()
Attribute
- ownerDocument
- childNodes
- localName
- parentNode
- namespaceURI
- tagName
- textContent
- target
- isTrusted