interface HTMLImageElement
implements HTMLElement
import { type HTMLImageElement } from "https://deno.land/x/evt@v2.4.20/lib/types/lib.dom.ts";
Provides special properties and methods for manipulating elements.
Properties
Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.
Methods
addEventListener<K extends keyof HTMLElementEventMap>(): void
type: K,
listener: (this: HTMLImageElement, 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: HTMLImageElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,