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

    Interface RepeaterItemContext<T>

    Template context exposed to each item rendered by the repeater.

    interface RepeaterItemContext<T> {
        $implicit: T;
        absoluteIndex: number;
        even: boolean;
        first: boolean;
        index: number;
        last: boolean;
        odd: boolean;
    }

    Type Parameters

    • T

      The item type.

    Index

    Properties

    $implicit: T

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

    absoluteIndex: number

    Zero-based absolute index in the full datasource.

    even: boolean

    Whether the index is even.

    first: boolean

    Whether this is the first item in the visible window.

    index: number

    Zero-based index within the current visible window.

    last: boolean

    Whether this is the last item in the visible window.

    odd: boolean

    Whether the index is odd.