interface HTMLTemplateElement
implements HTMLElement
import { type HTMLTemplateElement } from "https://deno.land/x/evt@v2.5.2/lib/types/lib.dom.ts";
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,