Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/gauntlet/imports/happy_dom.ts>Document#prepend

Work-in-progress front-end tool which does put a smile on my face
Latest
method Document.prototype.prepend
Re-export
import { Document } from "https://deno.land/x/gauntlet@v0.0.9/imports/happy_dom.ts";

Inserts a set of Node objects or DOMString objects before the first child of the ParentNode. DOMString objects are inserted as equivalent Text nodes.

Parameters

...nodes: (INode | string)[]

List of Node or DOMString.