anim-easing 为动画提供了常见的平滑函数。

目前支持以下平滑函数:

  • easeNone
  • easeIn
  • easeOut
  • easeBoth
  • easeInStrong
  • easeOutStrong
  • easeBothStrong
  • elasticIn
  • elasticOut
  • elasticBoth
  • backIn
  • backOut
  • backBoth
  • bounceIn
  • bounceOut
  • bounceBoth

效果预览,可以参考 Robert Penner 博士的:easing_demo.html

homeanim › anim-easing :