| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. | 2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. |
| 3 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt | 3 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
| 4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | 4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
| 5 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt | 5 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
| 6 Code distributed by Google as part of the polymer project is also | 6 Code distributed by Google as part of the polymer project is also |
| 7 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt | 7 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
| 8 --> | 8 --> |
| 9 | 9 |
| 10 <link rel="import" href="../polymer/polymer.html"> | 10 <link rel="import" href="../polymer/polymer.html"> |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 properties, it will not be overridden. The overlay should | 55 properties, it will not be overridden. The overlay should |
| 56 be positioned via css or imperatively using the `core-overlay-position` event. | 56 be positioned via css or imperatively using the `core-overlay-position` event. |
| 57 If the overlay is not positioned vertically via setting `top` or `bottom`, it | 57 If the overlay is not positioned vertically via setting `top` or `bottom`, it |
| 58 will be centered vertically. The same is true horizontally via a setting to | 58 will be centered vertically. The same is true horizontally via a setting to |
| 59 `left` or `right`. In addition, css `margin` can be used to provide some space | 59 `left` or `right`. In addition, css `margin` can be used to provide some space |
| 60 around the overlay. This can be used to ensure | 60 around the overlay. This can be used to ensure |
| 61 that, for example, a drop shadow is always visible around the overlay. | 61 that, for example, a drop shadow is always visible around the overlay. |
| 62 | 62 |
| 63 @group Core Elements | 63 @group Core Elements |
| 64 @element core-overlay | 64 @element core-overlay |
| 65 @mixins Polymer.CoreResizer https://github.com/polymer/core-resizable |
| 65 @homepage github.io | 66 @homepage github.io |
| 66 --> | 67 --> |
| 67 <!-- | 68 <!-- |
| 68 Fired when the `core-overlay`'s `opened` property changes. | 69 Fired when the `core-overlay`'s `opened` property changes. |
| 69 | 70 |
| 70 @event core-overlay-open | 71 @event core-overlay-open |
| 71 @param {Object} detail | 72 @param {Object} detail |
| 72 @param {Object} detail.opened the opened state | 73 @param {Object} detail.opened the opened state |
| 73 --> | 74 --> |
| 74 <!-- | 75 <!-- |
| (...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 766 } | 767 } |
| 767 } | 768 } |
| 768 } | 769 } |
| 769 | 770 |
| 770 function getBackdrops() { | 771 function getBackdrops() { |
| 771 return backdrops; | 772 return backdrops; |
| 772 } | 773 } |
| 773 })(); | 774 })(); |
| 774 </script> | 775 </script> |
| 775 </polymer-element> | 776 </polymer-element> |
| OLD | NEW |