| 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
|
| +
|
| -->
|
|
|
| -[](https://travis-ci.org/PolymerElements/paper-dialog)
|
| +[](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
|
|
|
|
|