loadImage
loadImage(
url,options?):Promise<HTMLImageElement>
Defined in: src/util/misc/objectEnlive.ts:29
Loads image element from given url and resolve it, or catch.
Parameters
Section titled “Parameters”string
URL representing an image
options?
Section titled “options?”LoadImageOptions = {}
image loading options
Returns
Section titled “Returns”Promise<HTMLImageElement>
the loaded image.