【发布时间】:2016-07-11 01:18:16
【问题描述】:
我有这个:
$('h1').animate({
//stuff to be changed,
}, {
duration: 1000,
queue: false
})
当我把它改成这样的时候它不接受:
{
duration: 1000,
queue: false,
easing: easeOutBounce
}
当提供easing 作为字符串时,我得到这个错误:
未捕获的类型错误:n.easing[this.easing] 不是函数
我应该如何放置缓动类型?
【问题讨论】:
标签: jquery easing jquery-easing