Skip to content

loadImage

loadImage(url, options?): Promise<HTMLImageElement>

Parameters

url: string

URL representing an image

options?: LoadImageOptions = {}

image loading options

Returns

Promise<HTMLImageElement>

the loaded image.

Defined in

src/util/misc/objectEnlive.ts:29