What can we use instead of addEvents
to add an event to the extended class?
this.addEvents({
"itemclick" : true
});
Since ExtJS 5.0.0 it is no longer required to call addEvents
before fireing events. So when you upgrade to ExtJS 5 or newer just delete all calls of addEvents
method.