Skip to content

TEasingFunction

TEasingFunction<T> = T extends number[] ? (timeElapsed, startValue, byValue, duration, index) => number : (timeElapsed, startValue, byValue, duration) => number

Defined in: src/util/animation/types.ts:34

An easing function used to calculate the current value

T = unknown

AnimationBase#calculate

ms elapsed since start

in ms

next value