class DocumentFragment
implements IDocumentFragment
extends Node
Re-export
import { DocumentFragment } from "https://deno.land/x/gauntlet@v0.0.9/imports/happy_dom.ts";
DocumentFragment.
Properties
readonly
children: IHTMLCollection<IElement>Methods
Inserts a set of Node objects or DOMString objects after the last child of the ParentNode. DOMString objects are inserted as equivalent Text nodes.
Inserts a set of Node objects or DOMString objects before the first child of the ParentNode. DOMString objects are inserted as equivalent Text nodes.
replaceChildren(...nodes: (INode | string)[]): void
Replaces the existing children of a node with a specified new set of children.