Interface TextTrackCueList
interface TextTrackCueList {
length: number;
[iterator](): ArrayIterator<TextTrackCue>;
getCueById(id: string): TextTrackCue;
[index: number]: TextTrackCue;
}
length: number;
[iterator](): ArrayIterator<TextTrackCue>;
getCueById(id: string): TextTrackCue;
[index: number]: TextTrackCue;
}
Indexable
Index
Properties
Methods
Methods
[iterator]
- [iterator](): ArrayIterator<TextTrackCue>
Returns ArrayIterator<TextTrackCue>
getCueById
- get
Cue (id): TextTrackCueBy Id Returns the first text track cue (in text track cue order) with text track cue identifier id.
Returns null if none of the cues have the given identifier or if the argument is the empty string.
Parameters
- id: string
Returns TextTrackCue
Returns the number of cues in the list.
MDN Reference