import { type dom } from "https://deno.land/x/evt@v2.5.2/mod.ts";
const { HTMLElement } = dom;
Any HTML element. Some elements directly implement this interface, while others implement it via an interface that inherits it.
Properties
readonly
offsetParent: Element | nullMethods
addEventListener<K extends keyof HTMLElementEventMap>(): void
type: K,
listener: (this: HTMLElement, 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: HTMLElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,