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?
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);