meo-canvas - v8.1.0
    Preparing search index...

    Interface SequenceStep<T>

    One leg of a sequence: where to move to, over how long, and how.

    interface SequenceStep<T extends Animatable> {
        duration?: number;
        ease?: Easing;
        hold?: number;
        spring?: SpringConfig;
        to: T;
    }

    Type Parameters

    Index
    duration?: number

    Seconds this leg lasts. Required unless spring supplies one.

    ease?: Easing

    Easing for this leg. Mutually exclusive with spring.

    linear
    
    hold?: number

    Seconds to rest at to before the next step begins.

    0
    
    spring?: SpringConfig

    Spring physics for this leg instead of an easing. Supplies its own duration.

    to: T

    Value at the end of this step. The start is wherever the previous step finished.