OLD | NEW |
---|---|
(Empty) | |
1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> | |
2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout.html"> | |
3 <link rel="import" href="flag.html"> | |
4 | |
5 <dom-module id="cr-flags-table"> | |
6 <link rel="import" type="css" href="flags_table.css"> | |
7 <template> | |
8 <div class="layout vertical"> | |
9 <template is="dom-repeat" items="[[flags]]"> | |
Jeremy Klein
2015/07/07 21:58:53
I wonder if flags needs to be 2-way bound here...
michaelpg
2015/07/07 22:20:49
You're right, that did it. Thanks!
I wasn't aware
| |
10 <cr-flag flag-id="[[item.id]]" displayName="[[item.name]]" | |
11 description="[[item.description]]" enabled="{{item.enabled}}"> | |
12 </cr-flag> | |
13 </template> | |
14 </template> | |
15 <script src="chrome://polymer-flags/flags_table.js"></script> | |
16 </dom-module> | |
OLD | NEW |