ImageTrackList: length property
MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونهکد
{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}
The **length** property of the {{domxref("ImageTrackList")}} interface returns the length of the ImageTrackList.
Value
An integer.
Examples
The following example prints the value of length to the console.
js
let tracks = imageDecoder.tracks;
console.log(tracks.length);Specifications
{{Specifications}}
Browser compatibility
{{Compat}}