interface dom.HTMLLegendElement
implements HTMLElement
import { type dom } from "https://deno.land/x/evt@v2.4.16/lib/index.ts";
const { HTMLLegendElement } = dom;
The HTMLLegendElement is an interface allowing to access properties of the elements. It inherits properties and methods from the HTMLElement interface.
Properties
readonly
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: HTMLLegendElement, 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: HTMLLegendElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,