import { type dom } from "https://deno.land/x/evt@v2.4.17/lib/index.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,