Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/codeigniter/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sencha touch senchatouch:动画发布_Sencha Touch - Fatal编程技术网

Sencha touch senchatouch:动画发布

Sencha touch senchatouch:动画发布,sencha-touch,Sencha Touch,如何在Ext.dispatch上使用动画 此代码不适用于我(布局类型为“卡片”): 在控制器中调用视口的setActiveItem时,应使用传递给控制器的动画对象 因此,在主控制器的Whoware功能中: whoweare: function(options) { newPanel = new myApp.views.myPanel(); myApp.views.viewport.setActiveItem(newPanel, options.animation); } 在控

如何在Ext.dispatch上使用动画

此代码不适用于我(布局类型为“卡片”):


在控制器中调用视口的setActiveItem时,应使用传递给控制器的动画对象

因此,在主控制器的Whoware功能中:

whoweare: function(options) {
    newPanel = new myApp.views.myPanel(); 
    myApp.views.viewport.setActiveItem(newPanel, options.animation);
}

在控制器中调用视口的setActiveItem时,应使用传递给控制器的动画对象

因此,在主控制器的Whoware功能中:

whoweare: function(options) {
    newPanel = new myApp.views.myPanel(); 
    myApp.views.viewport.setActiveItem(newPanel, options.animation);
}