sencha touch 监听视图切换动画(animation)

1         var animation = this.getLayout().getAnimation();
2         //添加监听
3         animation.on({
4             scope: this,
5             animationend: 'onAnimationend',//动画效果开始
6             animationstart: 'onAnimationstart'//动画效果结束
7         });

 

posted @ 2013-10-23 20:29  魔狼再世  阅读(820)  评论(0编辑  收藏  举报