import { type dom } from "https://deno.land/x/evt@v2.4.10/lib/types/index.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,