Skip to main content
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.3.1/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