PDA

View Full Version : how to get panel mouse over event



sreenatht
28 Sep 2012, 2:26 AM
Is it possible to write ext panel mose over event..pls help

redraid
28 Sep 2012, 2:43 AM
Add listener to panel el:


Ext.create('Ext.panel.Panel', {
title: 'Hello',
width: 200,
html: '<p>World!</p>',
renderTo: Ext.getBody(),
listeners: {
el: {
mouseover: function () {
console.log('Mouse over', arguments);
}
}
}
});