interface HTMLLabelElement
implements HTMLElement
import { type HTMLLabelElement } from "https://deno.land/x/windmill@v1.397.0/node_modules/evt/src/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,