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

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

Issue 1681053002: Unrestrict version of PolymerElements/iron-list and update it (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix-closure
Patch Set: and vulcanize Created 4 years, 10 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/v1_0/components-chromium/paper-dialog/README.md
diff --git a/third_party/polymer/v1_0/components-chromium/paper-dialog/README.md b/third_party/polymer/v1_0/components-chromium/paper-dialog/README.md
index 4bcd5d412df0b8b81cbb786489a8b34e676fd85d..787cb7ee2bc5776481bb67ca9c8458a55c44e109 100644
--- a/third_party/polymer/v1_0/components-chromium/paper-dialog/README.md
+++ b/third_party/polymer/v1_0/components-chromium/paper-dialog/README.md
@@ -7,16 +7,18 @@ paper-dialog.html
Edit those files, and our readme bot will duplicate them over here!
Edit this file, and the bot will squash your changes :)
+The bot does some handling of markdown. Please file a bug if it does the wrong
+thing! https://github.com/PolymerLabs/tedium/issues
+
-->
-[![Build Status](https://travis-ci.org/PolymerElements/paper-dialog.svg?branch=master)](https://travis-ci.org/PolymerElements/paper-dialog)
+[![Build status](https://travis-ci.org/PolymerElements/paper-dialog.svg?branch=master)](https://travis-ci.org/PolymerElements/paper-dialog)
-_[Demo and API Docs](https://elements.polymer-project.org/elements/paper-dialog)_
+_[Demo and API docs](https://elements.polymer-project.org/elements/paper-dialog)_
##<paper-dialog>
-
Material design: [Dialogs](https://www.google.com/design/spec/components/dialogs.html)
`<paper-dialog>` is a dialog with Material Design styling and optional animations when it is
@@ -27,16 +29,18 @@ content area. See `Polymer.PaperDialogBehavior` for specifics.
For example, the following code implements a dialog with a header, scrolling content area and
buttons.
- <paper-dialog>
- <h2>Header</h2>
- <paper-dialog-scrollable>
- Lorem ipsum...
- </paper-dialog-scrollable>
- <div class="buttons">
- <paper-button dialog-dismiss>Cancel</paper-button>
- <paper-button dialog-confirm>Accept</paper-button>
- </div>
- </paper-dialog>
+```html
+<paper-dialog>
+ <h2>Header</h2>
+ <paper-dialog-scrollable>
+ Lorem ipsum...
+ </paper-dialog-scrollable>
+ <div class="buttons">
+ <paper-button dialog-dismiss>Cancel</paper-button>
+ <paper-button dialog-confirm>Accept</paper-button>
+ </div>
+</paper-dialog>
+```
### Styling
@@ -51,14 +55,16 @@ is opened or closed. See the documentation in
For example:
- <link rel="import" href="components/neon-animation/animations/scale-up-animation.html">
- <link rel="import" href="components/neon-animation/animations/fade-out-animation.html">
+```html
+<link rel="import" href="components/neon-animation/animations/scale-up-animation.html">
+<link rel="import" href="components/neon-animation/animations/fade-out-animation.html">
- <paper-dialog entry-animation="scale-up-animation"
- exit-animation="fade-out-animation">
- <h2>Header</h2>
- <div>Dialog body</div>
- </paper-dialog>
+<paper-dialog entry-animation="scale-up-animation"
+ exit-animation="fade-out-animation">
+ <h2>Header</h2>
+ <div>Dialog body</div>
+</paper-dialog>
+```
### Accessibility

Powered by Google App Engine
This is Rietveld 408576698