imageElementFromUrl Function
Create an html Image element from a URL.
imageElementFromUrl(url: string, skipCrossOriginCheck: boolean = false): Promise<HTMLImageElement>
see tryImageElementFromUrl.
extensions
Returns - Promise<HTMLImageElement>
A Promise resolving to an HTMLImageElement when the image data has been loaded from the URL.
Defined in
- core/frontend/src/ImageUtil.ts Line 224
Last Updated: 30 November, 2023