interface HTMLDocument
implements Document
import { type HTMLDocument } from "https://deno.land/x/ogone@revb3/src/ogone.dom.d.ts";
The HTMLDocument property of OgoneWindow objects is an alias that browsers expose for the Document export 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,