javascript - Can i force webcomponents.js to re-parse the DOM on Firefox? -


well, need re-parse @ specific time.

why?

i dynamically add component , doesn't "polyfilled" if know mean. stays this:

<div id="componente" allowfullscreen=""><viva-card1></viva-card1></div> 

but viva-card have stuff , prototype etc, etc. doesn't show on firefox.

yes, can force webcomponents.js synchronously upgrade elements:

webcomponents.upgradeall(document.queryselector('#componente'));

this synchronously upgrade entire tree, starting #componente (if it's component).

for more information, see webcomponentsjs/issues/#169.


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -