【问题标题】:How add custom event in extjs 6?如何在 extjs 6 中添加自定义事件?
【发布时间】:2015-11-24 17:47:00
【问题描述】:

我是Extjs 6。我从Ext.Component 扩展了一个类。我想在课堂上添加一些事件。

我该怎么做

【问题讨论】:

    标签: extjs6 custom-events


    【解决方案1】:

    您不必在 ExtJS 6 中声明自定义事件。您只需要监听它们并触发它们。

    component.fireEvent("customEvent", component, otherArgs);
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2017-03-18
      • 1970-01-01
      • 2023-04-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多