Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/mod.ts>dom.TimeRanges

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.TimeRanges
import { type dom } from "https://deno.land/x/evt@v2.4.17/mod.ts";
const { TimeRanges } = dom;

Used to represent a set of time ranges, primarily for the purpose of tracking which portions of media have been buffered when loading it for use by the and  elements.

Properties

readonly
length: number

Methods

end(index: number): number
start(index: number): number