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>Node#replaceChild

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

Replaces a node with another.

Parameters

newChild: INode

New child.

oldChild: INode

Old child.

Returns

Replaced node.