Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is the importHref function?

I'm having such a hard time trying to use the Polymer.importHref function...

enter image description here

What am I missing?

like image 536
coma Avatar asked Jun 01 '17 18:06

coma


1 Answers

If you're only importing polymer-element.html, make sure to also import import-href.html:

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

codepen

like image 184
tony19 Avatar answered Nov 16 '22 03:11

tony19