decode() method of the
SVGImageElement interface initiates asynchronous decoding of an image,
Promise that resolves once the image data is ready
Promise which resolves once the image data is ready to be used, such as
by appending it to the DOM, replacing an existing image, and so forth.
|HTML Standard |
BCD tables only load in the browser
HTMLImageElement.decode(): The same thing, but for HTML