OLD | NEW |
---|---|
(Empty) | |
1 <link rel="import" href="chrome://resources/polymer/polymer/polymer.html"> | |
2 <link rel="import" href="chrome://resources/polymer/paper-dropdown-menu/paper-dr opdown-menu.html"> | |
3 <link rel="import" href="chrome://resources/polymer/paper-dropdown/paper-dropdow n.html"> | |
4 | |
5 <polymer-element name="cr-dropdown-menu"> | |
6 <template> | |
7 <link rel="stylesheet" href="cr-dropdown-menu.css"> | |
8 <paper-dropdown-menu flex label="{{label}}" opened="{{opened}}"> | |
michaelpg
2015/02/19 00:04:45
why is this flex?
Jeremy Klein
2015/02/19 23:45:04
This way if a client sets the cr-dropdown-menu's w
| |
9 <paper-dropdown class="dropdown"> | |
10 <content></content> | |
11 </paper-dropdown> | |
12 </paper-dropdown-menu> | |
13 </template> | |
14 <script src="cr-dropdown-menu.js"></script> | |
15 </polymer-element> | |
OLD | NEW |