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#insertBefore

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

Inserts a node before another.

Parameters

newNode: INode

Node to insert.

optional
referenceNode: INode

Returns

Inserted node.