Reputation: 1724
I'm usign Extjs 6. I extended a class from Ext.Component
. I want to add the class some events.
How can I do it?
Upvotes: 1
Views: 1558
Reputation: 2206
You don't have to declare custom events in ExtJS 6. You simply need to listen to them and fire them.
component.fireEvent("customEvent", component, otherArgs);
Upvotes: 2