DocumentFragment |
DOM Level 1 |
nodes to be manipulated together |
Inherits From: Node |
Description
DocumentFragment inherits the methods and properties of Node, and
defines no new method or properties of its own. It has one important
behavior, however: when a DocumentFragment is inserted into a
document tree, it is not the DocumentFragment node itself that is
inserted, but the children of the DocumentFragment. This makes
DocumentFragment useful as a temporary placeholder for nodes you want
to insert, all at once, into a document.
See Also
Document.createDocumentFragment( )
|