【问题标题】:Where is the importHref function?importHref 函数在哪里?
【发布时间】:2017-06-02 03:52:28
【问题描述】:

我很难尝试使用Polymer.importHref 函数...

我错过了什么?

【问题讨论】:

    标签: polymer polymer-2.x


    【解决方案1】:

    如果您只导入polymer-element.html,请确保同时导入import-href.html

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

    codepen

    【讨论】:

      猜你喜欢
      • 2014-06-18
      • 2020-02-23
      • 1970-01-01
      • 1970-01-01
      • 2017-08-23
      • 2013-01-06
      • 2016-01-28
      • 2013-01-08
      • 2018-03-09
      相关资源
      最近更新 更多