Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用Extjs 6。我从Ext.Component. 我想在课堂上添加一些事件。
Ext.Component
我该怎么做?
您不必在 ExtJS 6 中声明自定义事件。您只需要监听它们并触发它们。
component.fireEvent("customEvent", component, otherArgs);