4

What can we use instead of addEvents to add an event to the extended class?

this.addEvents({
    "itemclick" : true
});
Eleanor
  • 358
  • 5
  • 24

1 Answers1

7

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.

Observable ExtJS 5 docs

Bojan Dević
  • 1,875
  • 14
  • 24