Interface TrackList<TTrack>

List of tracks.

interface TrackList<TTrack> {
    length: number;
    addEventListener<TType>(type, listener): void;
    item(index): TTrack;
    removeEventListener<TType>(type, listener): void;
    [index: number]: TTrack;
}

Type Parameters

Hierarchy (view full)

Indexable

[index: number]: TTrack

Index signature to get the track at the requested index in the list.

Properties

length: number

The number of tracks in the list.

Methods

  • Return the track at the requested index in the list.

    Parameters

    • index: number

      A number representing the index of a track in the list.

    Returns TTrack

    The track with index index in the list.

Generated using TypeDoc