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
url
string
URL representing an image
options?
LoadImageOptions
= {}
image loading options
Returns
Promise
<HTMLImageElement
>
the loaded image.