Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个表单面板。我需要从此表单面板导航另一个视图。我的视图是 Ext.form.Panel 的子类。我知道如何从 Ext.navigation.View 导航。但不知道如何从表单面板导航。请帮我。
创建视图实例,或者您可以获得预先存在的实例
var listContainer = Ext.create("App.view.ListContainer");
将实例添加到查看端口
Ext.Viewport.add(listContainer);
将实例设置为具有一些过渡效果的活动对象
Ext.Viewport.animateActiveItem(listContainer, { type: 'slide', direction: 'left' });