Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
class DocumentFragment
extends Node
Re-export
import { DocumentFragment } from "https://deno.land/x/frugal@0.9.6/dep/deno_dom.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)[])