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