import { type dom } from "https://deno.land/x/evt@v2.4.20/mod.ts";
const { HTMLStyleElement } = dom;
A element. It inherits properties and methods from its parent, HTMLElement, and from LinkStyle.
Methods
addEventListener<K extends keyof HTMLElementEventMap>(): void
type: K,
listener: (this: HTMLStyleElement, 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: HTMLStyleElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,