interface dom.HTMLTemplateElement
implements HTMLElement
import { type dom } from "https://deno.land/x/evt@v2.4.7/lib/index.ts";
const { HTMLTemplateElement } = dom;
Enables access to the contents of an HTML element.
Properties
readonly
content: DocumentFragmentMethods
addEventListener<K extends keyof HTMLElementEventMap>(): void
type: K,
listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof HTMLElementEventMap>(): void
type: K,
listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,