Hi,

I'm wrapping the core-list element into a custom list-test element like 
this:

<polymer-element name="list-test" attributes="object">
  <template>
    <!-- other HTML code -->
    <core-list>
      <template>
        <content select=".test"></content>
      </template>
    </core-list>
  </template>

  <script>
    (function () {
      Polymer({
    })();
  </script>
</polymer-element>

And I would like to use my list-test element like this, so I can 
dynamically chose the custom element that will display the core-list items.

<list-test>
  <list-item class="test"></list-item>
</list-test>

I'm full aware that this is not the right way to use the content tag and 
that it won't work. I've tried to search for similar topics here and there 
without success. I've found a more-list 
<https://github.com/PolymerLabs/labs/blob/master/list/elements/more-list/more-list.html#L54>
 
item in Polymer labs, but I'm not sure how the shadowFromTemplate function 
would work.

Is there a way to make this works?
Thanks!!

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/b55a4757-65df-452d-b2f7-ad6e116c67c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to