Playing with the slide up/down example in the manual. I want to see how custom events work, so I've introduced an event called slidetextup and now I want to fire this even when the click event is called, however Element does not expose fireEvent - it seems only Ext obj expose this:
Ext.get('textup').on('slidetextup',function(e,t){
//simple slide of this element
slideText('up','slider');
Ext.get(t.id).frame('cccccc',1);
});
Ext.get('textup').on('click',function(e,t)
{
var textup = Ext.get('textup');
textup.fireEvent('slidetextup',null);
});
What am I doing wrong? What is the fireEvent equivalant on Ext Element?