模板不是自动绑定

时间:2014-11-03 21:10:48

标签: dart polymer dart-polymer

我尝试使用pub pacakage manager启动Dart Polymer项目。我使用Eric Bidelman的scaffolding page example作为例子,因为它非常符合我的需要。 。而我已经添加了

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

它仍会在模板元素的is =&#34;自动绑定&#34; -attribute上抛出以下错误:

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

任何人都可以指出我正确的方向,因为就我在自动绑定属性的documentation中看到的而言,bio.html导入足以让is-attribute工作

1 个答案:

答案 0 :(得分:1)

在Dart中,等效元素为auto-binding-dart而非auto-binding。有关示例,请参阅Data binding fails with Dart

相关问题