| OLD | NEW |
| 1 |
| 2 |
| 1 /** | 3 /** |
| 2 Use `Polymer.IronOverlayBehavior` to implement an element that can be hidden or
shown, and displays | 4 Use `Polymer.IronOverlayBehavior` to implement an element that can be hidden or
shown, and displays |
| 3 on top of other content. It includes an optional backdrop, and can be used to im
plement a variety | 5 on top of other content. It includes an optional backdrop, and can be used to im
plement a variety |
| 4 of UI controls including dialogs and drop downs. Multiple overlays may be displa
yed at once. | 6 of UI controls including dialogs and drop downs. Multiple overlays may be displa
yed at once. |
| 5 | 7 |
| 6 ### Closing and canceling | 8 ### Closing and canceling |
| 7 | 9 |
| 8 A dialog may be hidden by closing or canceling. The difference between close and
cancel is user | 10 A dialog may be hidden by closing or canceling. The difference between close and
cancel is user |
| 9 intent. Closing generally implies that the user acknowledged the content on the
overlay. By default, | 11 intent. Closing generally implies that the user acknowledged the content on the
overlay. By default, |
| 10 it will cancel whenever the user taps outside it or presses the escape key. This
behavior is | 12 it will cancel whenever the user taps outside it or presses the escape key. This
behavior is |
| (...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 402 */ | 404 */ |
| 403 | 405 |
| 404 /** | 406 /** |
| 405 * Fired after the `iron-overlay` closes. | 407 * Fired after the `iron-overlay` closes. |
| 406 * @event iron-overlay-closed | 408 * @event iron-overlay-closed |
| 407 * @param {{canceled: (boolean|undefined)}} set to the `closingReason` attribute | 409 * @param {{canceled: (boolean|undefined)}} set to the `closingReason` attribute |
| 408 */ | 410 */ |
| 409 }; | 411 }; |
| 410 | 412 |
| 411 /** @polymerBehavior */ | 413 /** @polymerBehavior */ |
| 412 Polymer.IronOverlayBehavior = [Polymer.IronFitBehavior, Polymer.IronResizableB
ehavior, Polymer.IronOverlayBehaviorImpl]; | 414 Polymer.IronOverlayBehavior = [Polymer.IronFitBehavior, Polymer.IronResizableB
ehavior, Polymer.IronOverlayBehaviorImpl]; |
| 415 |
| 416 |
| OLD | NEW |