Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

polymer-element script tag are ignored when using innerHTML to inject polymer-element(s) into the page #205

Closed
kentaromiura opened this issue Jul 12, 2013 · 1 comment

Comments

@kentaromiura
Copy link
Contributor

While the polyfill takes care of evalling scripts inside the element tag, it doesn't do the same for polymer-element.

example: http://jsfiddle.net/kentaromiura/ucVpb/

@sorvell
Copy link
Contributor

sorvell commented Sep 25, 2013

Scripts cannot be injected into the page via innerHTML. To create a polymer-element imperatively, you'll need to create a script element and set its textContent.

@sorvell sorvell closed this as completed Sep 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants