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