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 --> | 9 --> |
10 | 10 |
11 <link rel="import" href="../polymer/polymer.html"> | 11 <link rel="import" href="../polymer/polymer.html"> |
12 <link rel="import" href="../iron-flex-layout/iron-flex-layout.html"> | |
13 <link rel="import" href="../iron-menu-behavior/iron-menu-behavior.html"> | 12 <link rel="import" href="../iron-menu-behavior/iron-menu-behavior.html"> |
14 <link rel="import" href="../paper-styles/default-theme.html"> | 13 <link rel="import" href="../paper-styles/default-theme.html"> |
15 <link rel="import" href="../paper-styles/color.html"> | |
16 <link rel="import" href="paper-menu-shared-styles.html"> | 14 <link rel="import" href="paper-menu-shared-styles.html"> |
17 | 15 |
18 <!-- | 16 <!-- |
19 Material design: [Menus](https://www.google.com/design/spec/components/menus.htm
l) | 17 Material design: [Menus](https://www.google.com/design/spec/components/menus.htm
l) |
20 | 18 |
21 `<paper-menu>` implements an accessible menu control with Material Design stylin
g. The focused item | 19 `<paper-menu>` implements an accessible menu control with Material Design stylin
g. The focused item |
22 is highlighted, and the selected item has bolded text. | 20 is highlighted, and the selected item has bolded text. |
23 | 21 |
24 <paper-menu> | 22 <paper-menu> |
25 <paper-item>Item 1</paper-item> | 23 <paper-item>Item 1</paper-item> |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 Polymer({ | 91 Polymer({ |
94 is: 'paper-menu', | 92 is: 'paper-menu', |
95 | 93 |
96 behaviors: [ | 94 behaviors: [ |
97 Polymer.IronMenuBehavior | 95 Polymer.IronMenuBehavior |
98 ] | 96 ] |
99 }); | 97 }); |
100 })(); | 98 })(); |
101 </script> | 99 </script> |
102 </dom-module> | 100 </dom-module> |
OLD | NEW |