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>HTMLTemplateElement

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

Properties

private
_contentElement
readonly
content: IDocumentFragment

Returns the content.

readonly
firstChild: INode

First child.

readonly
lastChild: INode

Last child.

readonly
nextSibling: INode

Next sibling.

readonly
previousSibling: INode

Previous sibling.

Methods

Append a child node to childNodes.

Clones a node.

insertBefore(newNode: INode, referenceNode: INode): INode

Inserts a node before another.

Remove Child element from childNodes array.

replaceChild(newChild: INode, oldChild: INode): INode

Replaces a node with another.