Where is the importHref function?
Asked Answered
C

1

5

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

enter image description here

What am I missing?

Cumbersome answered 1/6, 2017 at 18:40 Comment(0)
L
9

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

Lobule answered 1/6, 2017 at 19:52 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.