what are the different parameters in jQuery's easing functions

后端 未结 1 1947
执念已碎
执念已碎 2021-01-28 17:21

I see jQuery\'s easing functions at https://github.com/danro/jquery-easing/blob/master/jquery.easing.js.

I see each function takes 5 paramaters but I can\'t figure out w

相关标签:
1条回答
  • 2021-01-28 17:54

    x is an extra parameter not needed for the equations, but necessary for compatibility with jQuery

    Reference : link

    So x is equal to null and t is expressed in milliseconds since the start of the animation

    I think you have right for the others.

    You can see this post for more comprehension

    0 讨论(0)
提交回复
热议问题