| OLD | NEW |
| 1 |
| 2 |
| 1 /** | 3 /** |
| 2 Use `Polymer.PaperDialogBehavior` and `paper-dialog-common.css` to implement a M
aterial Design | 4 Use `Polymer.PaperDialogBehavior` and `paper-dialog-common.css` to implement a M
aterial Design |
| 3 dialog. | 5 dialog. |
| 4 | 6 |
| 5 For example, if `<paper-dialog-impl>` implements this behavior: | 7 For example, if `<paper-dialog-impl>` implements this behavior: |
| 6 | 8 |
| 7 <paper-dialog-impl> | 9 <paper-dialog-impl> |
| 8 <h2>Header</h2> | 10 <h2>Header</h2> |
| 9 <div>Dialog body</div> | 11 <div>Dialog body</div> |
| 10 <div class="buttons"> | 12 <div class="buttons"> |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 this._lastFocusedElement.focus(); | 213 this._lastFocusedElement.focus(); |
| 212 } else { | 214 } else { |
| 213 this._focusNode.focus(); | 215 this._focusNode.focus(); |
| 214 } | 216 } |
| 215 } | 217 } |
| 216 } | 218 } |
| 217 | 219 |
| 218 }; | 220 }; |
| 219 | 221 |
| 220 /** @polymerBehavior */ | 222 /** @polymerBehavior */ |
| 221 Polymer.PaperDialogBehavior = [Polymer.IronOverlayBehavior, Polymer.PaperDialo
gBehaviorImpl]; | 223 Polymer.PaperDialogBehavior = [Polymer.IronOverlayBehavior, Polymer.PaperDialo
gBehaviorImpl]; |
| 224 |
| OLD | NEW |