OLD | NEW |
1 <!-- | 1 <!-- |
2 @license | 2 @license |
3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. | 3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. |
4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt | 4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt | 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
7 Code distributed by Google as part of the polymer project is also | 7 Code distributed by Google as part of the polymer project is also |
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt | 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
9 --><html><head><link rel="import" href="../polymer/polymer.html"> | 9 --><html><head><link rel="import" href="../polymer/polymer.html"> |
10 <link rel="import" href="../iron-menu-behavior/iron-menu-behavior.html"> | 10 <link rel="import" href="../iron-menu-behavior/iron-menu-behavior.html"> |
11 <link rel="import" href="../iron-behaviors/iron-control-state.html"> | 11 <link rel="import" href="../iron-behaviors/iron-control-state.html"> |
12 <link rel="import" href="../iron-collapse/iron-collapse.html"> | 12 <link rel="import" href="../iron-collapse/iron-collapse.html"> |
13 <link rel="import" href="../iron-flex-layout/iron-flex-layout.html"> | 13 <link rel="import" href="../iron-flex-layout/iron-flex-layout.html"> |
14 <link rel="import" href="../paper-styles/default-theme.html"> | 14 <link rel="import" href="../paper-styles/default-theme.html"> |
| 15 <link rel="import" href="../paper-styles/color.html"> |
15 <link rel="import" href="paper-menu-shared-styles.html"> | 16 <link rel="import" href="paper-menu-shared-styles.html"> |
16 | 17 |
17 <!-- | 18 <!-- |
18 `<paper-submenu>` is a nested menu inside of a parent `<paper-menu>`. It | 19 `<paper-submenu>` is a nested menu inside of a parent `<paper-menu>`. It |
19 consists of a trigger that expands or collapses another `<paper-menu>`: | 20 consists of a trigger that expands or collapses another `<paper-menu>`: |
20 | 21 |
21 <paper-menu> | 22 <paper-menu> |
22 <paper-submenu> | 23 <paper-submenu> |
23 <paper-item class="menu-trigger">Topics</paper-item> | 24 <paper-item class="menu-trigger">Topics</paper-item> |
24 <paper-menu class="menu-content"> | 25 <paper-menu class="menu-content"> |
(...skipping 30 matching lines...) Expand all Loading... |
55 --> | 56 --> |
56 | 57 |
57 </head><body><dom-module id="paper-submenu"> | 58 </head><body><dom-module id="paper-submenu"> |
58 <template> | 59 <template> |
59 <style include="paper-menu-shared-styles"></style> | 60 <style include="paper-menu-shared-styles"></style> |
60 | 61 |
61 <div class="selectable-content" on-tap="_onTap"> | 62 <div class="selectable-content" on-tap="_onTap"> |
62 <content id="trigger" select=".menu-trigger"></content> | 63 <content id="trigger" select=".menu-trigger"></content> |
63 </div> | 64 </div> |
64 <iron-collapse id="collapse" opened="{{opened}}"> | 65 <iron-collapse id="collapse" opened="{{opened}}"> |
65 <content select=".menu-content"></content> | 66 <content id="content" select=".menu-content"></content> |
66 </iron-collapse> | 67 </iron-collapse> |
67 </template> | 68 </template> |
68 | 69 |
69 </dom-module> | 70 </dom-module> |
70 <script src="paper-submenu-extracted.js"></script></body></html> | 71 <script src="paper-submenu-extracted.js"></script></body></html> |
OLD | NEW |