比如<view:ProductList product=".." select=""/> 其中product是自定义的属性,select为自定义的事件
在ProductList.mxml中
添加   [Bindable]
          public var product:..
添加
 <mx:Metadata>
            [Event("select")]
</mx:Metadata>

相关文章:

  • 2021-06-23
  • 2022-12-23
  • 2021-09-24
  • 2022-12-23
  • 2022-12-23
  • 2021-10-11
  • 2022-12-23
猜你喜欢
  • 2021-06-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-02
相关资源
相似解决方案