Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Side by Side Diff: third_party/polymer/components/paper-dialog-behavior/paper-dialog-behavior.html

Issue 3010683002: Update Polymer components. (Closed)
Patch Set: Rebase Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!-- 1 <!--
2 @license 2 @license
3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. 3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt 4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
7 Code distributed by Google as part of the polymer project is also 7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
9 --> 9 -->
10 10
(...skipping 30 matching lines...) Expand all
41 This element has `role="dialog"` by default. Depending on the context, it may be more appropriate 41 This element has `role="dialog"` by default. Depending on the context, it may be more appropriate
42 to override this attribute with `role="alertdialog"`. 42 to override this attribute with `role="alertdialog"`.
43 43
44 If `modal` is set, the element will prevent the focus from exiting the element. 44 If `modal` is set, the element will prevent the focus from exiting the element.
45 It will also ensure that focus remains in the dialog. 45 It will also ensure that focus remains in the dialog.
46 46
47 @hero hero.svg 47 @hero hero.svg
48 @demo demo/index.html 48 @demo demo/index.html
49 @polymerBehavior Polymer.PaperDialogBehavior 49 @polymerBehavior Polymer.PaperDialogBehavior
50 */ 50 */
51
52 Polymer.PaperDialogBehaviorImpl = { 51 Polymer.PaperDialogBehaviorImpl = {
53 52
54 hostAttributes: { 53 hostAttributes: {
55 'role': 'dialog', 54 'role': 'dialog',
56 'tabindex': '-1' 55 'tabindex': '-1'
57 }, 56 },
58 57
59 properties: { 58 properties: {
60 59
61 /** 60 /**
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 } 130 }
132 } 131 }
133 } 132 }
134 133
135 }; 134 };
136 135
137 /** @polymerBehavior */ 136 /** @polymerBehavior */
138 Polymer.PaperDialogBehavior = [Polymer.IronOverlayBehavior, Polymer.PaperDialo gBehaviorImpl]; 137 Polymer.PaperDialogBehavior = [Polymer.IronOverlayBehavior, Polymer.PaperDialo gBehaviorImpl];
139 138
140 </script> 139 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698