interface HTMLOptGroupElement
implements HTMLElement
import { type HTMLOptGroupElement } from "https://deno.land/x/ogone@revb3/src/ogone.dom.d.ts";
Provides special properties and methods (beyond the regular HTMLElement object export interface they also have available to them by inheritance) for manipulating the layout and presentation of elements.
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: HTMLOptGroupElement, 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: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,