缺少聚合物元素

Missing Polymer Element

我已经安装了基于 Dart 的 Polymer,Angular 2,以及 Polymer Together 演示。到目前为止,我有几个要工作的要素。我现在想使用 iron-scroll-target-behavior。我无法将它导入我的飞镖程序,因为它不在我的包中。有没有什么特别的东西我必须用这个元素做,而我没有为其他元素做?

我尝试从目录安装 link:

bower install iron-scroll-target-behavior

我收到错误:

EINVALID Name must be lowercase, can contain digits, dots, dashes, "@" or spaces

这是我根据演示设置的 pubspec:

name: jazzcat
description: A catalog of jazz music
version: 0.0.1
environment:
  sdk: '>=1.13.0 <2.0.0'
dependencies:
  angular2: 2.0.0-beta.17
  browser: ^0.10.0
  dart_to_js_script_rewriter: ^1.0.1
  polymer: ^1.0.0-rc.17
  polymer_elements: ^1.0.0-rc.8
  web_components: ^0.12.0
  http:
transformers:
- polymer:
    entry_points: web/index.html
- angular2:
    resolved_identifiers:
        Window: 'dart:html'
    platform_directives:
    - 'package:angular2/common.dart#COMMON_DIRECTIVES'
    platform_pipes:
    - 'package:angular2/common.dart#COMMON_PIPES'
    entry_points: web/main.dart
- $dart2js:
    $include: '**/*.bootstrap.initialize.dart'
    minify: true
    commandLineOptions:
    - --trust-type-annotations
    - --trust-primitives

在等待实物出现的同时,我创建了一个替代品。我希望滚动的元素是纸列表框。我刚刚在模板中添加了一个 css class:

.scroll-list  {
  height: 40em;       /* arbitrary height. Should be based on window height */
  overflow: hidden;
  overflow-y: scroll;
}

然后在列表框本身:

<paper-listbox class="scroll-list">