interface dom.HTMLScriptElement
implements HTMLElement
import { type dom } from "https://deno.land/x/evt@v2.4.19/lib/types/index.ts";
const { HTMLScriptElement } = dom;
HTML elements expose the HTMLScriptElement interface, which provides special properties and methods for manipulating the behavior and execution of elements (beyond the inherited HTMLElement interface).
Methods
addEventListener<K extends keyof HTMLElementEventMap>(): void
type: K,
listener: (this: HTMLScriptElement, 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: HTMLScriptElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,