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