【问题标题】:template is not auto-binding模板不是自动绑定的
【发布时间】:2014-11-03 21:10:47
【问题描述】:

我正在尝试使用 pub pacakage 管理器启动 Dart Polymer 项目。我以 Eric Bidelman 的 scaffolding page example 为例,因为这正是我所需要的。 .虽然我已经添加了

<link rel="import" href="../packages/polymer/polymer.html">

它仍然会在模板元素的 is="autobinding"-attribute 上抛出以下错误:

custom element with name "auto-binding" not found. See http://goo.gl/5HPeuP#polymer_11 for details.

谁能指出我正确的方向,因为据我在自动绑定属性的documentation 中看到的,polymer.html 导入足以使 is-attribute 起作用

【问题讨论】:

    标签: dart polymer dart-polymer


    【解决方案1】:

    在 Dart 中,等效元素是 auto-binding-dart 而不是 auto-binding。示例见Data binding fails with Dart

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多