It's hard to say what will be a good solution without seeing what you're
building. You may want to turn some of those content elements into their
own custom elements and then compose them together. But I'd say just try to
build what youre building and if you get stuck come back and post some more
code and we'll all help you move forward :)


On Wed, Aug 13, 2014 at 6:14 PM, Marco Magnetti <[email protected]>
wrote:

> the second option is good for me! thx
>
> in my project i need to create a generic object that containing a generic
> layout with title, header, tabs and content
>
>    - Title contains a simple text
>    - header, contains a div, with some stuff
>    - tabs are defined into the object, but are handled when is used
>    - content contains a page content
>
> maybe i can use  content with select tag
>
> <!-- for title-->
> <content select=".title"></content>
>
> <!-- for header-->
> <content select=".header"></content>
>
> <!-- for tabs maybe with <ul><li></li></ul> and "template" into the  -->
> <content select=".tabs"></content>
>
> <!-- for content -->
> <content select=".content"></content>
>
> what do you think about this solution?
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/192744ea-0185-4315-bd43-bfb3a957385b%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/192744ea-0185-4315-bd43-bfb3a957385b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CAJj5OwCxARHtchDNDVzK2PctFnswpEuPE8kKSOFRf9s2GKXF%2Bg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to