Question

How can achieve this for my composite component?

Simple example: when using my component:

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

my composite component implementation:

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

Can I use decorate somehow?

Était-ce utile?

La solution

<composite:implementation>
   <div>
       <composite:insertChildren/>
   </div>
</composite:implementation>
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top