import { type dom } from "https://deno.land/x/evt@v2.5.3/mod.ts";
const { HTMLOptGroupElement } = dom;
Provides special properties and methods (beyond the regular HTMLElement object interface they also have available to them by inheritance) for manipulating the layout and presentation of elements.
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,