THEOplayer Web SDK
    Preparing search index...

    Interface ViewPositionChangeEvent

    Fired when a View has swapped positions in the list.

    interface ViewPositionChangeEvent {
        date: Date;
        newPosition: number;
        oldPosition: number;
        type: "viewpositionchange";
    }

    Hierarchy (View Summary)

    • Event<"viewpositionchange">
      • ViewPositionChangeEvent
    Index

    Properties

    date: Date

    The creation date of the event.

    newPosition: number

    The new position of the view

    oldPosition: number

    The position of the view whose position has changed.

    type: "viewpositionchange"

    The type of the event.