interface HTMLLabelElement
implements HTMLElement
import { type HTMLLabelElement } from "https://deno.land/x/ogone@revb3/src/ogone.dom.d.ts";
Gives access to properties specific to elements. It inherits methods and properties from the base HTMLElement export 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,