interface dom.HTMLHtmlElement
implements HTMLElement
import { type dom } from "https://deno.land/x/evt@v2.5.6/lib/types/index.ts";
const { HTMLHtmlElement } = dom;
Serves as the root node for a given HTML document. This object inherits the properties and methods described in the HTMLElement interface.
Methods
addEventListener<K extends keyof HTMLElementEventMap>(): void
type: K,
listener: (this: HTMLHtmlElement, 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: HTMLHtmlElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,