我在 Sencha Touch 2 中有一个 ActionSheet 和一个面板。我想在面板中单击图标地图时显示 ActionSheet 叠加层,我该怎么做?
Panel.js
Ext.define('app.view.principalTabPanel', {
    extend: 'Ext.tab.Panel',
    config: {
        ui: 'light',
        items: [
            {
                xtype: 'mappanel',
                title: 'Map',
                iconCls: 'locate'
            }
        ],
        tabBar: {
            docked: 'bottom',
            ui: 'light'
        }
    }
});
询问.js
Ext.define('app.view.takePhoto', {
    extend: 'Ext.ActionSheet',
    config: {
        items: [
        {
            text: 'Delete draft',
            ui  : 'decline'
        },
        {
            text: 'Save draft'
        },
        {
            text: 'Cancel',
            ui  : 'confirm'
        }
        ]
    }
});