interface dom.HTMLImageElement
implements HTMLElement
import { type dom } from "https://deno.land/x/evt@v2.4.17/lib/index.ts";
const { HTMLImageElement } = dom;
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,