Sencha Touch 交流 QQ 群 224711028 欢迎您的加入。
1.confirm 框
代码:
Ext.Msg.confirm('External Link', 'Open in Google Maps?', function(res){
if (res == 'yes') window.location = this.permLink;
}, this);
2.基本框:
Ext.Msg.alert('Title', 'The quick brown fox jumped over the lazy dog.', Ext.emptyFn);
3.输入框:
Ext.Msg.prompt('Name', 'Please enter your name:', function(text) {
// process text value and close...
});
参考