@nextcloud/dialogs
    Preparing search index...

    Interface TextTrackCueList

    The TextTrackCueList interface of the WebVTT API is an array-like object that represents a dynamically updating list of TextTrackCue objects.

    MDN Reference

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

    Indexable

    Index

    Properties

    Methods

    Properties

    length: number

    The length read-only property of the TextTrackCueList interface returns the number of cues in the list.

    MDN Reference

    Methods

    • The getCueById() method of the TextTrackCueList interface returns the first VTTCue in the list represented by the TextTrackCueList object whose identifier matches the value of id.

      MDN Reference

      Parameters

      • id: string

      Returns null | TextTrackCue