Skip to content

@ralphschuler.webgl shader factory.<internal>.TimeRanges

github-actions edited this page Nov 26, 2023 · 1 revision

Interface: TimeRanges

@ralphschuler/webgl-shader-factory.<internal>.TimeRanges

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.

MDN Reference

Table of contents

Properties

Methods

Properties

length

Readonly length: number

Returns the number of ranges in the object.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:22276

Methods

end

end(index): number

Returns the time for the end of the range with the given index.

Throws an "IndexSizeError" DOMException if the index is out of range.

MDN Reference

Parameters

Name Type
index number

Returns

number

Defined in

node_modules/typescript/lib/lib.dom.d.ts:22284


start

start(index): number

Returns the time for the start of the range with the given index.

Throws an "IndexSizeError" DOMException if the index is out of range.

MDN Reference

Parameters

Name Type
index number

Returns

number

Defined in

node_modules/typescript/lib/lib.dom.d.ts:22292

Typescript Libraries

Modules

Namespaces

Clone this wiki locally