Ensures that elements are not upgraded before the default icon set is defined.
The current order of operations is:
iron-icons.html is loaded
This causes iron-icon.html to be imported, blocking the rest of the execution
iron-icon is executed, upgrading any existing <iron-icon> elements
iron-icons then resumes, defining the default icon set
If you load your elements asynchronously this fails if an existing icon uses the default icon set. The element is upgraded before the icon set is defined. This gives an error about the icon set not being imported.
Actually, this doesn't seem to help when you vulcanize. I guess the real solution is to make iron-icon wait for all imports to finish before looking for the right icon. Somehow.
Ensures that elements are not upgraded before the default icon set is defined.
The current order of operations is:
iron-icons.html
is loadediron-icon.html
to be imported, blocking the rest of the executioniron-icon
is executed, upgrading any existing<iron-icon>
elementsiron-icons
then resumes, defining the default icon setIf you load your elements asynchronously this fails if an existing icon uses the default icon set. The element is upgraded before the icon set is defined. This gives an error about the icon set not being imported.