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-dropdown/iron-dropdown.html"> | 10 <link rel="import" href="../iron-dropdown/iron-dropdown.html"> |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 border-radius: 2px; | 90 border-radius: 2px; |
91 background-color: var(--paper-menu-button-dropdown-background, --primary-b
ackground-color); | 91 background-color: var(--paper-menu-button-dropdown-background, --primary-b
ackground-color); |
92 | 92 |
93 @apply(--paper-menu-button-dropdown); | 93 @apply(--paper-menu-button-dropdown); |
94 } | 94 } |
95 </style> | 95 </style> |
96 <template> | 96 <template> |
97 <div id="trigger" on-tap="open"> | 97 <div id="trigger" on-tap="open"> |
98 <content select=".dropdown-trigger"></content> | 98 <content select=".dropdown-trigger"></content> |
99 </div> | 99 </div> |
100 <iron-dropdown id="dropdown" opened="{{opened}}" horizontal-align="[[horizon
talAlign]]" vertical-align="[[verticalAlign]]" open-animation-config="[[openAnim
ationConfig]]" close-animation-config="[[closeAnimationConfig]]" no-animations="
[[noAnimations]]"> | 100 <iron-dropdown id="dropdown" opened="{{opened}}" horizontal-align="[[horizon
talAlign]]" vertical-align="[[verticalAlign]]" horizontal-offset="[[horizontalOf
fset]]" vertical-offset="[[verticalOffset]]" open-animation-config="[[openAnimat
ionConfig]]" close-animation-config="[[closeAnimationConfig]]" no-animations="[[
noAnimations]]"> |
101 <paper-material class="dropdown-content"> | 101 <paper-material class="dropdown-content"> |
102 <content select=".dropdown-content"></content> | 102 <content select=".dropdown-content"></content> |
103 </paper-material> | 103 </paper-material> |
104 </iron-dropdown> | 104 </iron-dropdown> |
105 </template> | 105 </template> |
106 </dom-module> | 106 </dom-module> |
107 <script src="paper-menu-button-extracted.js"></script></body></html> | 107 <script src="paper-menu-button-extracted.js"></script></body></html> |
OLD | NEW |