import { type dom } from "https://deno.land/x/evt@v2.4.7/lib/types/index.ts";
const { HTMLLabelElement } = dom;
Gives access to properties specific to elements. It inherits methods and properties from the base HTMLElement interface.
Methods
addEventListener<K extends keyof HTMLElementEventMap>(): void
type: K,
listener: (this: HTMLLabelElement, 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: HTMLLabelElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,