interface dom.HTMLDocument
implements Document
import { type dom } from "https://deno.land/x/evt@v2.5.2/lib/types/index.ts";
const { HTMLDocument } = dom;
The HTMLDocument property of Window objects is an alias that browsers expose for the Document interface object.
Methods
addEventListener<K extends keyof DocumentEventMap>(): void
type: K,
listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof DocumentEventMap>(): void
type: K,
listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any,
options?: boolean | EventListenerOptions,