Options that can be used to overwrite default options when calling TweenSignal.setOptions, WritableTweenSignal.set, or WritableTweenSignal.update.

interface TweenOptions<T> {
    delay?: number;
    duration?: number;
    easing?: EasingFn;
    interpolator?: InterpolateFactoryFn<T>;
}

Type Parameters

  • T

Hierarchy (view full)

Properties

delay?: number

A delay before starting.

duration?: number

If not provided then a default of 400 is used.

easing?: EasingFn

An easing function that distorts progress.

interpolator?: InterpolateFactoryFn<T>

A function used to determine the intermediate value