In JS, content.getDistributedNodes() will return a NodeList of elements passing through the insertion point:
http://www.html5rocks.com/en/tutorials/webcomponents/shadowdom-301/#toc-getDistributedNodes If there's not a direct equivalent in Dart, I'd ask on their list. On Fri, Jan 17, 2014 at 12:10 PM, Marcelo Mayor <[email protected]>wrote: > Hello: supose I we have: > > <html> > <head> .... </head> > <body> > . > . > <custom-element> > <div><p> Hello Word!</p></div> > </custom-element> > . > . > </body> > </html> > > In polymer element definition I push a <content></content> tag for > render the children nodes of <custom-element> in html. How I can access to > content of <content> in the script or class in Dart?? 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/e9edaaeb-d675-407c-a4e9-aeb2fe06619a%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > 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/CACGqRCCKbyc4Nnv1g49O%2B%2BTmT%3DcG0mRCJ3FX2U4aofNreZa09A%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
