Interface TextTrackCueList

    interface TextTrackCueList {
        length: number;
        [iterator](): ArrayIterator<TextTrackCue>;
        getCueById(id: string): TextTrackCue;
        [index: number]: TextTrackCue;
    }

    Indexable

    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