Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
Note: This feature is available in Dedicated Web Workers.
The complete read-only property of the ImageDecoder interface returns true if encoded data has completed buffering.
A Boolean, true if buffering is complete.
The following example prints the value of complete to the console.
console.log(imageDecoder.complete);