opt[p] == iCur || (bComplete = false, this.css(p, iCur + iSpeed)) ;
bComplete && (clearInterval(this.timer), this.callback && this.callback.call(this))
opt[p] == iCur || (bComplete = false, this.css(p, iCur + iSpeed)) ;
bComplete && (clearInterval(this.timer), this.callback && this.callback.call(this))
if(opt[p] != iCur) {
bComplete = false
this.css(p, iCur + iSpeed)
}
if(bComplete) {
clearInterval(this.timer)
if(this.callback) this.callback.call(this)
}
10 回答11.3k 阅读
5 回答4.9k 阅读✓ 已解决
4 回答3.2k 阅读✓ 已解决
2 回答2.8k 阅读✓ 已解决
3 回答5.2k 阅读✓ 已解决
1 回答3.4k 阅读✓ 已解决
3 回答2.5k 阅读✓ 已解决
我是这么解读的