OLD | NEW |
1 | 1 |
2 <!--- | 2 <!--- |
3 | 3 |
4 This README is automatically generated from the comments in these files: | 4 This README is automatically generated from the comments in these files: |
5 paper-dialog-behavior.html | 5 paper-dialog-behavior.html |
6 | 6 |
7 Edit those files, and our readme bot will duplicate them over here! | 7 Edit those files, and our readme bot will duplicate them over here! |
8 Edit this file, and the bot will squash your changes :) | 8 Edit this file, and the bot will squash your changes :) |
9 | 9 |
10 The bot does some handling of markdown. Please file a bug if it does the wrong | 10 The bot does some handling of markdown. Please file a bug if it does the wrong |
11 thing! https://github.com/PolymerLabs/tedium/issues | 11 thing! https://github.com/PolymerLabs/tedium/issues |
12 | 12 |
13 --> | 13 --> |
14 | 14 |
15 [](https://travis-ci.org/PolymerElements/paper-dialog-behavior) | 15 [](https://travis-ci.org/PolymerElements/paper-dialog-behavior) |
16 | 16 |
17 _[Demo and API Docs](https://elements.polymer-project.org/elements/paper-dialog-
behavior)_ | 17 _[Demo and API docs](https://elements.polymer-project.org/elements/paper-dialog-
behavior)_ |
18 | 18 |
19 | 19 |
20 ##Polymer.PaperDialogBehavior | 20 ##Polymer.PaperDialogBehavior |
21 | 21 |
22 Use `Polymer.PaperDialogBehavior` and `paper-dialog-shared-styles.html` to imple
ment a Material Design | 22 Use `Polymer.PaperDialogBehavior` and `paper-dialog-shared-styles.html` to imple
ment a Material Design |
23 dialog. | 23 dialog. |
24 | 24 |
25 For example, if `<paper-dialog-impl>` implements this behavior: | 25 For example, if `<paper-dialog-impl>` implements this behavior: |
26 | 26 |
27 ```html | 27 ```html |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 | 59 |
60 This element has `role="dialog"` by default. Depending on the context, it may be
more appropriate | 60 This element has `role="dialog"` by default. Depending on the context, it may be
more appropriate |
61 to override this attribute with `role="alertdialog"`. | 61 to override this attribute with `role="alertdialog"`. |
62 | 62 |
63 If `modal` is set, the element will set `aria-modal` and prevent the focus from
exiting the element. | 63 If `modal` is set, the element will set `aria-modal` and prevent the focus from
exiting the element. |
64 It will also ensure that focus remains in the dialog. | 64 It will also ensure that focus remains in the dialog. |
65 | 65 |
66 The `aria-labelledby` attribute will be set to the header element, if one exists
. | 66 The `aria-labelledby` attribute will be set to the header element, if one exists
. |
67 | 67 |
68 | 68 |
OLD | NEW |