blob: 434ee3d53db56949e048b1ee20c75ae89f9f904e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
<dom-module id="engagement-table">
<link rel="import" type="css" href="engagement_table.css">
<template>
<table>
<thead>
<tr>
<th>Origin</th>
<th>Points</th>
</tr>
</thead>
<tbody>
<template is="dom-repeat" items="{{engagementInfo}}" as="info">
<tr>
<td class="origin-cell">{{info.origin}}</td>
<td>{{info.score}}</td>
</tr>
</template>
</tbody>
</table>
</template>
</dom-module>
<script src="engagement_table.js"></script>
|