Extjs Ext.ux.IFrame中的事件

Extjs Ext.ux.IFrame中的事件,extjs,extjs4,extjs4.1,Extjs,Extjs4,Extjs4.1,如何在Ext.ux.IFrame类中使用事件:beforeload&&load? 源代码 或 你的问题不是很清楚,也不确定你是如何获得选票的,但我认为这就是你想要的: Ext.create("Ext.ux.IFrame", { id: "id", src: "http://google.com", listeners: { load: function(iframeComponent) { //code here

如何在Ext.ux.IFrame类中使用事件:beforeload&&load? 源代码


你的问题不是很清楚,也不确定你是如何获得选票的,但我认为这就是你想要的:

Ext.create("Ext.ux.IFrame", {
    id: "id",
    src: "http://google.com",
    listeners: {
        load: function(iframeComponent)
        {
            //code here
        },
        beforeload: function(iframeComponent, src)
        {
            //code here
        }
    }  
});

你的问题不是很清楚,也不确定你是如何获得选票的,但我认为这就是你想要的:

Ext.create("Ext.ux.IFrame", {
    id: "id",
    src: "http://google.com",
    listeners: {
        load: function(iframeComponent)
        {
            //code here
        },
        beforeload: function(iframeComponent, src)
        {
            //code here
        }
    }  
});
Ext.create("Ext.ux.IFrame", {
    id: "id",
    src: "http://google.com",
    listeners: {
        load: function(iframeComponent)
        {
            //code here
        },
        beforeload: function(iframeComponent, src)
        {
            //code here
        }
    }  
});