interface HTMLScriptElement
implements HTMLElement
import { type HTMLScriptElement } from "https://deno.land/x/ogone@revb3/src/ogone.dom.d.ts";
HTML elements expose the HTMLScriptElement export interface, which provides special properties and methods for manipulating the behavior and execution of elements (beyond the inherited HTMLElement export 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,