OLD | NEW |
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 Loading... |
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 Loading... |
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> |
OLD | NEW |