@byomakase/omakase-player
    Preparing search index...

    Interface MarkerListApi

    interface MarkerListApi {
        config: MarkerListConfig;
        markers: MarkerState[];
        onEvent$: Observable<MarkerListEvent>;
        thumbnailTrack: ThumbnailTrack | undefined;
        addTrack(track: string | MarkerTrack): void;
        destroy(): void;
        getTracks(): MarkerTrack[];
        removeTrack(trackId: string): void;
        reorderMarker(id: string, index: number): void;
    }

    Hierarchy

    • Destroyable
      • MarkerListApi

    Implemented by

    Index

    Properties

    Marker List configuration

    markers: MarkerState[]

    Markers currently displayed in the Marker List, in display order

    onEvent$: Observable<MarkerListEvent>
    thumbnailTrack: ThumbnailTrack | undefined

    Thumbnail Track used to resolve marker thumbnails.

    Methods

    • Moves a marker to a new position in the Marker List

      Parameters

      • id: string

        Marker id

      • index: number

        Target index

      Returns void