interface dom.HTMLOptionElement
implements HTMLElement
import { type dom } from "https://deno.land/x/evt@v2.4.17/lib/index.ts";
const { HTMLOptionElement } = dom;
Properties
readonly
form: HTMLFormElement | nullRetrieves a reference to the form that the object is embedded in.
Sets or retrieves a value that you can use to implement your own label functionality for the object.
Methods
addEventListener<K extends keyof HTMLElementEventMap>(): void
type: K,
listener: (this: HTMLOptionElement, 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: HTMLOptionElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,