如何将事件从父组件传递给Salesforce Aura组件中的子组件?

问题描述

例如

ParentCmp:

<aura:component>
     <!-- some attributes and tags-->
     {!v.body}        
</aura:component>

childCmp:

<aura:component>
     <!-- some attributes and tags-->                        
</aura:component>

ContainerCmp:

<parentCmp>
     <childCmp/>
</parentCmp>

在上述情况下,如何将事件从ParentCmp发送到childCmp?任何人都可以在这里建议我什么,以实现这一目标吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)