Skip to content

TEasingFunction

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

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

An easing function used to calculate the current value

T = unknown

AnimationBase#calculate

timeElapsed

ms elapsed since start

startValue

byValue

duration

in ms

next value