logo

THEOplayer > TextTrackCueList

TextTrackCueList interface

Inherits from ReadonlyArray<TextTrackCue> . See parent page for inherited properties and methods.

List of text track cues.

Signature:

export interface TextTrackCueList extends ReadonlyArray<TextTrackCue> 

Properties

Property

Type

Description

length

number

The number of text track cues in the list.

Methods

Method

Description

item​(index: number): TextTrackCue

Return the text track cue at the requested index in the list.

Property Details

length

The number of text track cues in the list.

Signature:

readonly length: number;

Method Details

item

Return the text track cue at the requested index in the list.

Signature:

item(index: number): TextTrackCue;

Parameters

Parameter

Type

Description

index

number

A number representing the index of a text track cue in the list.

Returns

The text track cue with index index in the list.

github
Make sure to follow us on GitHub!
THEO-logo-white
twitter
facebook
linkedin
Copyright © 2022. All Rights Reserved.
Leuven
New York
Singapore
Barcelona