Amazon Vinyl
    Preparing search index...

    Interface ReadonlyTextTrackController

    Read-only view of available text tracks and the active selection.

    interface ReadonlyTextTrackController {
        activeTextTrack: TextTrackInfo | null;
        textTracks: readonly TextTrackInfo[];
        get active(): boolean;
        hasAnyListeners(): boolean;
        hasListeners(type: keyof TextTrackEventMap): boolean;
        on<K extends keyof TextTrackEventMap>(
            type: K,
            handler: EventHandler<TextTrackEventMap[K]>,
            options?: SignalOptions,
        ): Unsubscribe;
    }

    Hierarchy (View Summary)

    Index
    activeTextTrack: TextTrackInfo | null

    The currently active text track, or null if none is active.

    textTracks: readonly TextTrackInfo[]

    The list of currently discovered text tracks.