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

Unified Diff: third_party/polymer/v0_8/components-chromium/paper-dialog-behavior/README.md

Issue 1162563004: Upgrade to 1.0 and switch clients to dom-repeat where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a layout import and remove the gzipped webanimation in reproduce.sh Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: third_party/polymer/v0_8/components-chromium/paper-dialog-behavior/README.md
diff --git a/third_party/polymer/v0_8/components-chromium/paper-dialog-behavior/README.md b/third_party/polymer/v0_8/components-chromium/paper-dialog-behavior/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..2c63d3cdaadab1972a6d74c28a5abae0ca884d33
--- /dev/null
+++ b/third_party/polymer/v0_8/components-chromium/paper-dialog-behavior/README.md
@@ -0,0 +1,24 @@
+# paper-dialog-behavior
+
+`paper-dialog-behavior` implements behavior related to a Material Design dialog. Use this behavior
+and include `paper-dialog-common.css` in your element to implement a dialog.
+
+`paper-dialog-common.css` provide styles for a header, content area, and an action area for buttons.
+Use the `<h2>` tag for the header and the `buttons` class for the action area. You can use the
+`paper-dialog-scrollable` element (in its own repository) if you need a scrolling content area.
+
+Use the `dialog-dismiss` and `dialog-confirm` attributes on interactive controls to close the
+dialog.
+
+For example, if `<paper-dialog-impl>` implements this behavior:
+
+```html
+<paper-dialog-impl>
+ <h2>Header</h2>
+ <div>Dialog body</div>
+ <div class="buttons">
+ <paper-button dialog-dismiss>Cancel</paper-button>
+ <paper-button dialog-confirm>Accept</paper-button>
+ </div>
+</paper-dialog-impl>
+```

Powered by Google App Engine
This is Rietveld 408576698