Interface TextTrackCueList

interface TextTrackCueList {
    length: number;
    getCueById(id): TextTrackCue;
    [index: number]: TextTrackCue;
}

Indexable

[index: number]: TextTrackCue

Properties

Methods

Properties

length: number

Returns the number of cues in the list.

MDN Reference

Methods

  • 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.

    MDN Reference

    Parameters

    • id: string

    Returns TextTrackCue