ImageDecoder: thuộc tính complete

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

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.

Thuộc tính chỉ đọc complete của giao diện ImageDecoder trả về true nếu dữ liệu đã mã hóa đã hoàn thành việc lưu vào bộ đệm.

Giá trị

Một boolean, true nếu việc lưu vào bộ đệm hoàn thành.

Ví dụ

Ví dụ sau đây in giá trị của complete ra console.

js
console.log(imageDecoder.complete);

Thông số kỹ thuật

Specification
WebCodecs
# dom-imagedecoder-complete

Tương thích trình duyệt