As a follow up, this seems to be related to the shadow DOM, but are there strategies to access DOM elements within a custom Polymer element other than tracking all elements individually as they are added to the page?
On Thu, Jan 23, 2014 at 1:53 PM, Junius Gunaratne <[email protected]> wrote: > I have a number of Polymer elements on my page that are generated > dynamically using <template repeat>. However, these elements don't seem to > be accessible using native DOM functions like getElementsByTagName > or getElementsByClassName even after the document has loaded and is ready. > I can access these custom Polymer elements with DOM functions by defining > them right on the HTML page. How can I access dynamically generated > elements? > 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/CAC57C_T1Pc%3DDNs8FyRg0AE_JksMU4nfPAE2DiNVobqVZwuA3QQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
