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 |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 id="dropdown" | 114 id="dropdown" |
115 opened="{{opened}}" | 115 opened="{{opened}}" |
116 horizontal-align="[[horizontalAlign]]" | 116 horizontal-align="[[horizontalAlign]]" |
117 vertical-align="[[verticalAlign]]" | 117 vertical-align="[[verticalAlign]]" |
118 horizontal-offset="[[horizontalOffset]]" | 118 horizontal-offset="[[horizontalOffset]]" |
119 vertical-offset="[[verticalOffset]]" | 119 vertical-offset="[[verticalOffset]]" |
120 open-animation-config="[[openAnimationConfig]]" | 120 open-animation-config="[[openAnimationConfig]]" |
121 close-animation-config="[[closeAnimationConfig]]" | 121 close-animation-config="[[closeAnimationConfig]]" |
122 no-animations="[[noAnimations]]" | 122 no-animations="[[noAnimations]]" |
123 focus-target="[[_dropdownContent]]" | 123 focus-target="[[_dropdownContent]]" |
| 124 restore-focus-on-close |
124 on-iron-overlay-canceled="__onIronOverlayCanceled"> | 125 on-iron-overlay-canceled="__onIronOverlayCanceled"> |
125 <div class="dropdown-content"> | 126 <div class="dropdown-content"> |
126 <content id="content" select=".dropdown-content"></content> | 127 <content id="content" select=".dropdown-content"></content> |
127 </div> | 128 </div> |
128 </iron-dropdown> | 129 </iron-dropdown> |
129 </template> | 130 </template> |
130 | 131 |
131 <script> | 132 <script> |
132 (function() { | 133 (function() { |
133 'use strict'; | 134 'use strict'; |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 } | 398 } |
398 }); | 399 }); |
399 | 400 |
400 PaperMenuButton.ANIMATION_CUBIC_BEZIER = 'cubic-bezier(.3,.95,.5,1)'; | 401 PaperMenuButton.ANIMATION_CUBIC_BEZIER = 'cubic-bezier(.3,.95,.5,1)'; |
401 PaperMenuButton.MAX_ANIMATION_TIME_MS = 400; | 402 PaperMenuButton.MAX_ANIMATION_TIME_MS = 400; |
402 | 403 |
403 Polymer.PaperMenuButton = PaperMenuButton; | 404 Polymer.PaperMenuButton = PaperMenuButton; |
404 })(); | 405 })(); |
405 </script> | 406 </script> |
406 </dom-module> | 407 </dom-module> |
OLD | NEW |