简体   繁体   English

jquery缓动插件的示例

[英]Example of jquery easing plugin

easeOutExpo: function (x, t, b, c, d) {
        return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
    }

At this line of code on jquery easin plugin, How we want to know the value if x, t, b, c, d in parentheses.I'm just wanna know What there are doing..? 在jquery easin插件的这行代码中,我们如何知道括号中的x, t, b, c, d 。我只是想知道它在做什么......?

在脚本的顶部有一条注释掉的行说:

// t: current time, b: begInnIng value, c: change In value, d: duration

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM