Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/gauntlet/imports/happy_dom.ts>HTMLImageElement#decode

Work-in-progress front-end tool which does put a smile on my face
Latest
method HTMLImageElement.prototype.decode
Re-export
import { HTMLImageElement } from "https://deno.land/x/gauntlet@v0.0.9/imports/happy_dom.ts";

The decode() method of the HTMLImageElement interface returns a Promise that resolves when the image is decoded and it is safe to append the image to the DOM.

Returns

Promise<void>

Promise.