ImageDecoder: complete property
MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونهکد
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}
The **complete** read-only property of the {{domxref("ImageDecoder")}} interface returns true if encoded data has completed buffering.
Value
A {{jsxref("Boolean")}}, true if buffering is complete.
Examples
The following example prints the value of complete to the console.
js
console.log(imageDecoder.complete);Specifications
{{Specifications}}
Browser compatibility
{{Compat}}