将HTML/组件以复合组件发送



如何为我的复合组件实现这一目标?

简单示例:使用我的组件时:

<my:myComponent> html code and other components </my:myComponent>

我的复合组件实现:

<composite:implementation> <div> <!-- inject html code and other components here --> </div> </composite:implementation>

我可以以某种方式使用装饰吗?

<composite:implementation>
   <div>
       <composite:insertChildren/>
   </div>
</composite:implementation>

相关内容

最新更新