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>Comment#replaceWith

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

The Node.replaceWith() method replaces this Node in the children list of its parent with a set of Node or DOMString objects.

Parameters

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

List of Node or DOMString.