I have a container with one iframe and one image which are loading dynamically with update() method.
Click event is working fine on container and image ,but not working on Iframe.
Can anyone suggest me how to do click event work on iframe.
Here is the sample code:
Ext.define('mng.view.banner.ADContianer', {
extend : 'Ext.Container',
xtype : 'adcontianer',
listeners : {
afterrender : function(c) {
c.getEl().on('click', function(){ this.fireEvent('click', c); }, c);
}
}
});
Thanks in advance
Click event is working fine on container and image ,but not working on Iframe.
Can anyone suggest me how to do click event work on iframe.
Here is the sample code:
Ext.define('mng.view.banner.ADContianer', {
extend : 'Ext.Container',
xtype : 'adcontianer',
listeners : {
afterrender : function(c) {
c.getEl().on('click', function(){ this.fireEvent('click', c); }, c);
}
}
});
Thanks in advance
Aucun commentaire:
Enregistrer un commentaire