I have a panel with items as follows:
items: [
{
<snipped for brevity>
{
xtype: 'image',
src: 'xyz'
},
{
xtype: 'tooltip',
html: 'hello world',
target: ?
}
My question is what should I set the target to so that the tooltip shows up when I hover over the image. I tried adding an id for the image element and using "target: Ext.getCmp('imageid')" but that didn't work.