It doesn't render anything. But I was worried about performances mainly. Also for debugging purpose it would be a bit easier if not there, as not needed for my case.
Thanks for the link and explanation. On Monday, July 21, 2014 3:31:45 PM UTC-7, Rob Dodson wrote: > > While the shadow-root from A is present, it shouldn't actually render > anything. It's there in case you want to use the shadow element to create > a shadow insertion point > <http://www.html5rocks.com/en/tutorials/webcomponents/shadowdom-301>. > > > On Sun, Jul 20, 2014 at 6:11 PM, Xavier Cochard <[email protected] > <javascript:>> wrote: > >> Hello, >> >> I am using 2 components A and B, both having a Template and a Script tag. >> Both templates also use conditional template. >> I am confused when extending B by A, that two "#shadow-root" appear while >> inspecting the dom. >> >> <my-element-B ....> >> |> #shadow-root (from B) >> |> #shadow-root (from A) >> </my-element-B> >> >> Is there a way to only see B such as: >> >> <my-element-B ....> >> |> #shadow-root (from B) >> </my-element-B> >> >> In that sense I only want to extends the prototype and fully override the >> Template. >> >> Thanks >> Xavier >> >> (using chrome 36 and latest polymer) >> >> >> 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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/polymer-dev/22beb6d4-4aea-47e0-903a-4577724eaa31%40googlegroups.com >> >> <https://groups.google.com/d/msgid/polymer-dev/22beb6d4-4aea-47e0-903a-4577724eaa31%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/dc3720f3-13c5-4ed0-bcd0-2383dabc5b4b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
