Where is the importHref function?

I find it very difficult to use the Polymer.importHref function ...

enter image description here

What am I missing?

+4
source share
1 answer

If you import only polymer-element.html, be sure to import import-href.html:

<link rel="import" href="polymer/lib/utils/import-href.html">

codepen

+6
source

Source: https://habr.com/ru/post/1678367/


All Articles