Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
class DocumentFragment
extends Node
Re-export
import { DocumentFragment } from "https://deno.land/x/fathym_eac_runtime@v0.0.140/src/src.deps.ts";

Constructors

new
DocumentFragment()

Properties

readonly
childElementCount: number
readonly
children: HTMLCollection
readonly
firstElementChild: Element | null
readonly
lastElementChild: Element | null

Methods

append(...nodes: (Node | string)[])
getElementById(id: string): Element | null
prepend(...nodes: (Node | string)[])
querySelector(selectors: string): Element | null
querySelectorAll(selectors: string): NodeList
replaceChildren(...nodes: (Node | string)[])