请问Ext里的
// 使用配置选项显示一个对话框:
Ext.Msg.show({
title:'Save Changes?',
msg: 'You are closing a tab that has unsaved changes. Would you like to save your changes?',
buttons: Ext.Msg.YESNOCANCEL,
fn: processResult,
animEl: 'elId',
icon: Ext.MessageBox.QUESTION
});animEl是什么意思呢
// 使用配置选项显示一个对话框:
Ext.Msg.show({
title:'Save Changes?',
msg: 'You are closing a tab that has unsaved changes. Would you like to save your changes?',
buttons: Ext.Msg.YESNOCANCEL,
fn: processResult,
animEl: 'elId',
icon: Ext.MessageBox.QUESTION
});animEl是什么意思呢
animEl: 'elId',说明html里ID属性
<input type="button" id='elId' onclick=xxxx();/>
希望有所帮助