聚合物铁列表与firebase集合/文件

时间:2015-09-30 08:37:59

标签: list collections firebase polymer iron

有没有办法将聚合物firebase-collection与铁列表结合起来?

我可以使用firebase-collection显示我的数据,但我也想使用iron-list来设计我的元素...

<firebase-collection data="{{games}}"
                  location="url">
</firebase-collection>

<template is="dom-repeat" items="{{games}}" as="game">
    <div>
      <span>{{game.home}}</span>
      <span class="game_score">
        <span>{{game.home_score}}</span> - <span>{{game.away_score}}</span>
      </span>
      <span>{{game.away}}</span>
    </div>
    </template>

0 个答案:

没有答案