0
我在Sencha Touch的JavaScript代碼的這一部分有一些問題,我不知道如何解決它。網絡應用sencha觸摸錯誤
new Ext.application({
name: 'TouchStart',
launch: function() {
this.viewport = new Ext.Panel({
fullscreen: true,
bodyPadding: 5,
dockedItems: [ {
dock : 'top',
xtype: 'toolbar',
title: 'Touch Start'
}, {
dock : 'top',
xtype: 'toolbar',
items: [{
text: 'Hello Button'
}]
}],
html: 'Hello Panel'
});
}
});
控制檯顯示:
This.viewport = new Ext.Panel({
> Uncaught TypeError: undefined is not a function