| 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-a11y-keys-behavior/iron-a11y-keys-behavior.html
"> | 10 <link rel="import" href="../iron-a11y-keys-behavior/iron-a11y-keys-behavior.html
"> |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 @element paper-dropdown-menu | 76 @element paper-dropdown-menu |
| 77 @hero hero.svg | 77 @hero hero.svg |
| 78 @demo demo/index.html | 78 @demo demo/index.html |
| 79 --> | 79 --> |
| 80 | 80 |
| 81 </head><body><dom-module id="paper-dropdown-menu"> | 81 </head><body><dom-module id="paper-dropdown-menu"> |
| 82 <template> | 82 <template> |
| 83 <style include="paper-dropdown-menu-shared-styles"></style> | 83 <style include="paper-dropdown-menu-shared-styles"></style> |
| 84 | 84 |
| 85 <!-- this div fulfills an a11y requirement for combobox, do not remove --> | 85 <!-- this div fulfills an a11y requirement for combobox, do not remove --> |
| 86 <div role="button"></div> | 86 <span role="button"></span> |
| 87 <paper-menu-button id="menuButton" vertical-align="[[verticalAlign]]" horizo
ntal-align="[[horizontalAlign]]" vertical-offset="[[_computeMenuVerticalOffset(n
oLabelFloat)]]" disabled="[[disabled]]" no-animations="[[noAnimations]]" on-iron
-select="_onIronSelect" on-iron-deselect="_onIronDeselect" opened="{{opened}}"> | 87 <paper-menu-button id="menuButton" vertical-align="[[verticalAlign]]" horizo
ntal-align="[[horizontalAlign]]" vertical-offset="[[_computeMenuVerticalOffset(n
oLabelFloat)]]" disabled="[[disabled]]" no-animations="[[noAnimations]]" on-iron
-select="_onIronSelect" on-iron-deselect="_onIronDeselect" opened="{{opened}}" c
lose-on-activate="" allow-outside-scroll="[[allowOutsideScroll]]"> |
| 88 <div class="dropdown-trigger"> | 88 <div class="dropdown-trigger"> |
| 89 <paper-ripple></paper-ripple> | 89 <paper-ripple></paper-ripple> |
| 90 <!-- paper-input has type="text" for a11y, do not remove --> | 90 <!-- paper-input has type="text" for a11y, do not remove --> |
| 91 <paper-input type="text" invalid="[[invalid]]" readonly="" disabled="[[d
isabled]]" value="[[selectedItemLabel]]" placeholder="[[placeholder]]" error-mes
sage="[[errorMessage]]" always-float-label="[[alwaysFloatLabel]]" no-label-float
="[[noLabelFloat]]" label="[[label]]"> | 91 <paper-input type="text" invalid="[[invalid]]" readonly="" disabled="[[d
isabled]]" value="[[selectedItemLabel]]" placeholder="[[placeholder]]" error-mes
sage="[[errorMessage]]" always-float-label="[[alwaysFloatLabel]]" no-label-float
="[[noLabelFloat]]" label="[[label]]"> |
| 92 <iron-icon icon="paper-dropdown-menu:arrow-drop-down" suffix=""></iron
-icon> | 92 <iron-icon icon="paper-dropdown-menu:arrow-drop-down" suffix=""></iron
-icon> |
| 93 </paper-input> | 93 </paper-input> |
| 94 </div> | 94 </div> |
| 95 <content id="content" select=".dropdown-content"></content> | 95 <content id="content" select=".dropdown-content"></content> |
| 96 </paper-menu-button> | 96 </paper-menu-button> |
| 97 </template> | 97 </template> |
| 98 | 98 |
| 99 </dom-module> | 99 </dom-module> |
| 100 <script src="paper-dropdown-menu-extracted.js"></script></body></html> | 100 <script src="paper-dropdown-menu-extracted.js"></script></body></html> |
| OLD | NEW |