如何为我的复合组件实现这一目标?
简单示例:使用我的组件时:
<my:myComponent>
html code and other components
</my:myComponent>
我的复合组件实现:
<composite:implementation>
<div>
<!-- inject html code and other components here -->
</div>
</composite:implementation>
我能以某种方式使用装饰吗?
答案 0 :(得分:1)
<composite:implementation>
<div>
<composite:insertChildren/>
</div>
</composite:implementation>