interface HTMLHtmlElement
implements HTMLElement
import { type HTMLHtmlElement } from "https://deno.land/x/ogone@revb3/src/ogone.dom.d.ts";
Serves as the root node for a given HTML document. This object inherits the properties and methods described in the HTMLElement export 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,