Sencha touch senchatouch中的Ext.Img动画

Sencha touch senchatouch中的Ext.Img动画,sencha-touch,sencha-touch-2,Sencha Touch,Sencha Touch 2,如何在sencha touch 2.0中创建的Ext.Img组件运行时应用动画始终可以使用CSS3动画,方法是随时(而不仅仅是显示)将任何动画类应用于元素,如下所示: Ext.getCmp('myImageElementId').addCls('popped'); 这是什么地方 .popped { -webkit-animation-name: cssAnimation; -webkit-animation-duration:3s; -webkit-animation-

如何在sencha touch 2.0中创建的Ext.Img组件运行时应用动画始终可以使用CSS3动画,方法是随时(而不仅仅是显示)将任何动画类应用于元素,如下所示:

Ext.getCmp('myImageElementId').addCls('popped');
这是什么地方

.popped {
    -webkit-animation-name: cssAnimation;
    -webkit-animation-duration:3s;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-timing-function: ease;
    -webkit-animation-fill-mode: forwards;
}

要清楚的是,当图像是
show
n或
initialize
d时?另外,到目前为止您得到了什么?