Skip to content
GitHub repository
Variable

ease

const ease: {
  inOutCubic: (t: number) => number;
  inOutSine: (t: number) => number;
  outCubic: (t: number) => number;
  outExpo: (t: number) => number;
};

Easing curves for tweens (t from 0 to 1): inOutCubic, outCubic, inOutSine, outExpo.

Type Declaration#

NameTypeDescriptionDefined in
inOutCubic()(t: number) => numberSlow start, fast middle, slow end.motion.ts:70
inOutSine()(t: number) => numberGentle start and end.motion.ts:74
outCubic()(t: number) => numberFast start, slow end.motion.ts:72
outExpo()(t: number) => numberSharp start, long soft landing.motion.ts:76