OLD | NEW |
---|---|
(Empty) | |
1 <link rel="import" href="chrome://resources/polymer/core-menu/core-menu.html"> | |
2 <link rel="import" href="chrome://resources/polymer/paper-item/paper-item.html"> | |
3 | |
4 <polymer-element name="cr-settings-menu"> | |
5 <template> | |
6 <link rel="stylesheet" href="settings_menu.css"> | |
7 <core-menu id="menu" selected="{{selectedId}}" valueattr="id"> | |
8 <template repeat="{{pages}}"> | |
9 <paper-item id="{{PAGE_ID}}"> | |
Jeremy Klein
2015/03/12 02:11:18
nit: Is there any reason we need to use the id att
michaelpg
2015/03/12 06:29:37
Done.
| |
10 <core-icon icon="{{icon}}"></core-icon> | |
11 {{pageTitle}} | |
Jeremy Klein
2015/03/12 02:11:18
Shouldn't we add a pageTitle and icon to the a11y
michaelpg
2015/03/12 06:29:37
yes, those should have been there -- i'm doing a b
Jeremy Klein
2015/03/12 06:46:36
No worries, it's hard to untangle lots of commits
| |
12 </paper-item> | |
13 </template> | |
14 </core-menu> | |
15 </template> | |
16 <script src="settings_menu.js"></script> | |
17 </polymer-element> | |
OLD | NEW |