interface HTMLLabelElement
implements HTMLElement
import { type HTMLLabelElement } from "https://deno.land/x/evt@v2.4.22/lib/types/lib.dom.ts";
Gives access to properties specific to elements. It inherits methods and properties from the base HTMLElement interface.
Properties
readonly
control: HTMLElement | nullreadonly
form: HTMLFormElement | nullRetrieves a reference to the form that the object is embedded in.
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,