DocumentFragment()
Experimental
This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The DocumentFragment()
constructor returns a new, empty
DocumentFragment
object .
Syntax
fragment = new DocumentFragment()
Example
let fragment = new DocumentFragment();
Specifications
Specification | Status | Comment |
---|---|---|
DOM The definition of 'DocumentFragment()' in that specification. |
Living Standard | Initial definition. |
Browser compatibility
BCD tables only load in the browser