| OLD | NEW |
| 1 (function() { | 1 |
| 2 (function() { |
| 2 'use strict'; | 3 'use strict'; |
| 3 | 4 |
| 4 Polymer({ | 5 Polymer({ |
| 5 is: 'paper-dropdown-menu', | 6 is: 'paper-dropdown-menu', |
| 6 | 7 |
| 7 /** | 8 /** |
| 8 * Fired when the dropdown opens. | 9 * Fired when the dropdown opens. |
| 9 * | 10 * |
| 10 * @event paper-dropdown-open | 11 * @event paper-dropdown-open |
| 11 */ | 12 */ |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 * above the input, otherwise false. | 185 * above the input, otherwise false. |
| 185 */ | 186 */ |
| 186 _computeMenuVerticalOffset: function(noLabelFloat) { | 187 _computeMenuVerticalOffset: function(noLabelFloat) { |
| 187 // NOTE(cdata): These numbers are somewhat magical because they are | 188 // NOTE(cdata): These numbers are somewhat magical because they are |
| 188 // derived from the metrics of elements internal to `paper-input`'s | 189 // derived from the metrics of elements internal to `paper-input`'s |
| 189 // template. The metrics will change depending on whether or not the | 190 // template. The metrics will change depending on whether or not the |
| 190 // input has a floating label. | 191 // input has a floating label. |
| 191 return noLabelFloat ? -4 : 16; | 192 return noLabelFloat ? -4 : 16; |
| 192 } | 193 } |
| 193 }); | 194 }); |
| 194 })(); | 195 })(); |
| OLD | NEW |