下面代码这样写是错误的吗

来源:5-2 jQuery中动画animate(下)

慕粉4296528

2017-09-13 22:43

 $aaron.animate({

                height: '50'

            }, {

                duration :2000,

                specialEasing: {  

       left: 'swing',  

       height: 'easeOutBounce' 

   },

                 

                //每一个动画都会调用

                step: function(now, fx) {

                   $aaron.text('高度的改变值:'+now)

                }

            })


写回答 关注

1回答

  • Judy_xiao
    2017-09-14 20:39:58

    应该可以

jQuery基础(四)—动画篇

jQuery基础教程动画篇,讲解jQuery基础开启动画修炼

85058 学习 · 262 问题

查看课程

相似问题