eligius
    Preparing search index...

    Interface SimplePlaylistConfig<TItem>

    Configuration for SimplePlaylist.

    interface SimplePlaylistConfig<TItem> {
        identifierKey: keyof TItem;
        items: TItem[];
    }

    Type Parameters

    • TItem

      Type of playlist items

    Index

    Properties

    Properties

    identifierKey: keyof TItem

    Key of the item to use as identifier for selectItem(). The value at this key is coerced to a string for comparison.

    items: TItem[]

    Array of items in the playlist. Must contain at least one item.