下面代碼這樣寫是錯誤的嗎
?$aaron.animate({
? ? ? ? ? ? ? ? height: '50'
? ? ? ? ? ? }, {
? ? ? ? ? ? ? ? duration :2000,
? ? ? ? ? ? ? ? specialEasing: { ?
? ? ? ?left: 'swing', ?
? ? ? ?height: 'easeOutBounce'?
? ?},
? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? //每一個動畫都會調(diào)用
? ? ? ? ? ? ? ? step: function(now, fx) {
? ? ? ? ? ? ? ? ? ?$aaron.text('高度的改變值:'+now)
? ? ? ? ? ? ? ? }
? ? ? ? ? ? })
2017-09-14
應(yīng)該可以