@theredhead — Frontend Library - v1.0.0
    Preparing search index...

    Interface TimelineEventContext<T>

    Template context exposed to each event rendered by the timeline.

    interface TimelineEventContext<T> {
        $implicit: T;
        first: boolean;
        index: number;
        last: boolean;
    }

    Type Parameters

    • T

      The event data type.

    Index

    Properties

    $implicit: T

    The event object (also available via the implicit let-event variable).

    first: boolean

    Whether this is the first event.

    index: number

    Zero-based index of this event in the timeline.

    last: boolean

    Whether this is the last event.