interface HTMLImageElement implements HTMLElementimport { type HTMLImageElement } from "https://deno.land/x/windmill@v1.361.1/node_modules/evt/lib/types/lib.dom.d.ts"; Provides special properties and methods for manipulating elements. Propertiesdeprecatedalign: stringalt: stringSets or retrieves a text alternative to the graphic. deprecatedborder: stringreadonlycomplete: booleanRetrieves whether the object is fully loaded. crossOrigin: string | nullreadonlycurrentSrc: stringdecoding: "async" | "sync" | "auto"height: numberSets or retrieves the height of the object. deprecatedhspace: numberisMap: booleanSets or retrieves whether the image is a server-side image map. deprecatedlongDesc: stringdeprecatedlowsrc: stringdeprecatedname: stringreadonlynaturalHeight: numberThe original height of the image resource before sizing. readonlynaturalWidth: numberThe original width of the image resource before sizing. referrerPolicy: stringsizes: stringsrc: stringThe address or URL of the a media resource that is to be considered. srcset: stringuseMap: stringSets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map. deprecatedvspace: numberwidth: numberSets or retrieves the width of the object. readonlyx: numberreadonlyy: numberMethodsdecode(): Promise<void>addEventListener<K extends keyof HTMLElementEventMap>(type: K,listener: (this: HTMLImageElement, ev: HTMLElementEventMap[K]) => any,options?: boolean | AddEventListenerOptions,): voidaddEventListener(type: string,listener: EventListenerOrEventListenerObject,options?: boolean | AddEventListenerOptions,): voidremoveEventListener<K extends keyof HTMLElementEventMap>(type: K,listener: (this: HTMLImageElement, ev: HTMLElementEventMap[K]) => any,options?: boolean | EventListenerOptions,): voidremoveEventListener(type: string,listener: EventListenerOrEventListenerObject,options?: boolean | EventListenerOptions,): void