我有延伸Ext.window.Window視圖快速提示:ExtJS的 - 禁用Ext.window.Window關閉按鈕
Ext.define('MyApp.view.help.Module', {
extend: 'Ext.window.Window',
initComponent: function() {
var me = this,
me.callParent(arguments);
}
});
Ext.QuickTips.init()當應用程序第一次啓動時運行。後來,當我創建MyApp.view.help.Module的一個實例如下:
var module = Ext.create('MyApp.view.help.Module');
module.show()
快速尖「關閉對話框」被示爲在該窗口中的「X」按鈕。我如何禁用quicktip?
我知道我可以運行Ext.QuickTip.disable(),但是,當我只想快速提示'X'按鈕被禁用時,全局禁用快速提示。
任何幫助表示讚賞!