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

Side by Side Diff: third_party/polymer/v1_0/components/paper-dialog-behavior/README.md

Issue 1269803005: Remove third_party/polymer from .gitignore (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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
(Empty)
1 # paper-dialog-behavior
2
3 `paper-dialog-behavior` implements behavior related to a Material Design dialog. Use this behavior
4 and include `paper-dialog-common.css` in your element to implement a dialog.
5
6 `paper-dialog-common.css` provide styles for a header, content area, and an acti on area for buttons.
7 Use the `<h2>` tag for the header and the `buttons` class for the action area. Y ou can use the
8 `paper-dialog-scrollable` element (in its own repository) if you need a scrollin g content area.
9
10 Use the `dialog-dismiss` and `dialog-confirm` attributes on interactive controls to close the
11 dialog.
12
13 For example, if `<paper-dialog-impl>` implements this behavior:
14
15 ```html
16 <paper-dialog-impl>
17 <h2>Header</h2>
18 <div>Dialog body</div>
19 <div class="buttons">
20 <paper-button dialog-dismiss>Cancel</paper-button>
21 <paper-button dialog-confirm>Accept</paper-button>
22 </div>
23 </paper-dialog-impl>
24 ```
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698