Class TimelineIndexPrivate

a thing which contains a timeline reference, and an index into it.

Param

Param

Hierarchy

  • TimelineIndex

Constructors

Properties

index: number
pendingPaginate?: Promise<boolean>
timeline: EventTimeline

Methods

  • Try move the index forward, or into the neighbouring timeline

    Returns

    number of events successfully advanced by

    Parameters

    • delta: number

      number of events to advance by

    Returns number

  • Returns

    the maximum possible value for the index in the current timeline (exclusive - ie, it actually returns one more than the index of the last element).

    Returns number

  • Returns

    the minimum possible value for the index in the current timeline

    Returns number

  • Try move the index backwards, or into the neighbouring timeline

    Returns

    number of events successfully retreated by

    Parameters

    • delta: number

      number of events to retreat by

    Returns number

Generated using TypeDoc