我想在加载网址时隐藏iframe的默认加载程序掩码
{
xtype: 'uxiframe',
listeners: {
afterrender: function () {
this.load('https://www.google.pl/images/srpr/logo11w.png');
}
}
}
答案 0 :(得分:1)
items : [{
xtype : "component",
autoEl : {
tag : "iframe",
src : ...
},
listeners: {
load: {
element: 'el',
fn: function () {
this.parent().unmask();
}
},
render: function () {
this.up('panel').body.mask("Loading...");
}
}
}]