ripplejs / ripple

A tiny foundation for building reactive views
http://ripplejs.github.io
1.28k stars 66 forks source link

How to compose views one inside of the other? #45

Open vmariano opened 9 years ago

vmariano commented 9 years ago

After readed the examples https://github.com/ripplejs/ripple/wiki/Composing-Views I like to know if is possible compose one view, inside of the other.

I have something like this:

 <div class="social-networks">
    <a href="http://twitter.com/">Twitter</a>
    <a href="http://facebook.com/">Facebook</a>  
</div>

and I would like to add inside of the oter views, in diferent points like:

 <div class="user-profile-networks">
    <p>{{name}}</p>
    <p>{{lastName}}</p>
    <p>{{email}}</p>
  <!-- social network view here-->
 <br> 
 <p>{{adress}}</p>  
</div>

Is this possible?