0
我有這樣的代碼:Tab平板 - 兩張牌 - 如何來找到它們
Ext.define('myapp.view.my_view', {
extend: 'Ext.TabPanel',
xtype: 'myapp_myview',
config: {
fullscreen:true,
tabBarPosition: 'bottom',
items: [
{
xtype: 'top_bar'
},
{
xtype: 'title_bar',
},
{
title: 'TAB 1',
items: [
{
xtype: 'myapp_tab1_screen1',
},
{
xtype: 'mayapp_tab1_screen2',
},
]
}
]
}
});
我想在屏幕1,其滑動到屏幕2按鈕,這意味着TAB 1圖標仍處於選中狀態,如何我是否這樣做?