class HTMLTemplateElement
extends Element
import { HTMLTemplateElement } from "https://deno.land/x/deno_dom@v0.1.45/src/dom/elements/html-template-element.ts";
Constructors
Properties
This blocks access to the .#contents property when the super() constructor is running which invokes (our overridden) _setParent() method. Without it, we get the following error thrown:
TypeError: Cannot read private member #content from an object whose class did not declare it
FIXME: Maybe find a cleaner way to do this
readonly
content: DocumentFragmentMethods
_setOwnerDocument(document: Document | null)
cloneNode(deep?): HTMLTemplateElement