You need to use Polymer.dom(host).appendChild(child) This is part of the Shady DOM implementation. I can't find the docs on on our site though... On Jun 3, 2015 8:37 AM, "Dave Dixon" <[email protected]> wrote:
> Gist illustrating the issue: > https://gist.github.com/sparkofreason/f9a068308449daac88da > > > On Wednesday, June 3, 2015 at 6:42:57 AM UTC-7, Dave Dixon wrote: >> >> Hi. When <paper-button> is created via HTML, the content gets moved >> inside an internal <paper-material> node. But if I instead dynamically >> populate the content with appendChild(), the content is not moved inside >> <paper-material>, and the paper-button renders incorrectly. Is this >> expected? >> >> Dave >> > 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/5757cd10-3ea4-4f12-ab1e-44add5eba2c2%40googlegroups.com > <https://groups.google.com/d/msgid/polymer-dev/5757cd10-3ea4-4f12-ab1e-44add5eba2c2%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/CAEKsHmDhh84NYYCocmgyQYEnEpZxX4QbYG06-pgyemOYR32SKQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
