meo-canvas - v9.0.1
    Preparing search index...

    Interface Track<T>

    A configured track, sampled per page.

    interface Track<T extends Animatable> {
        duration: number;
        at(page: PageInfo, index?: number): T;
        totalDuration(count: number): number;
    }

    Type Parameters

    Index
    duration: number

    Seconds from the start of the render until the first item finishes.

    • Value at this page, optionally for the item at index when the track staggers.

      Parameters

      Returns T

    • Seconds until count staggered items have all finished.

      Parameters

      • count: number

      Returns number