OLD | NEW |
1 <!-- | 1 <!-- |
2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. | 2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. |
3 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt | 3 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | 4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
5 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt | 5 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
6 Code distributed by Google as part of the polymer project is also | 6 Code distributed by Google as part of the polymer project is also |
7 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt | 7 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
8 --> | 8 --> |
9 | 9 |
10 <!-- | 10 <!-- |
11 | 11 |
12 Material Design: <a href="http://www.google.com/design/spec/components/dialogs.h
tml">Dialogs</a> | 12 Material Design: <a href="http://www.google.com/design/spec/components/dialogs.h
tml">Dialogs</a> |
13 | 13 |
14 `paper-action-dialog` is a `paper-dialog` a row of buttons at the bottom that | 14 `paper-action-dialog` is a `paper-dialog` with a row of buttons at the bottom th
at |
15 indicate user action. The action buttons do not scroll with the dialog body. | 15 indicate user action. The action buttons do not scroll with the dialog body. |
16 | 16 |
17 The buttons should have either the `affirmative` or `dismissive` attribute. See | 17 The buttons should have either the `affirmative` or `dismissive` attribute. See |
18 the Material Design spec for more info. | 18 the Material Design spec for more info. |
19 | 19 |
20 Example: | 20 Example: |
21 | 21 |
22 <paper-action-dialog heading="Dialog Title"> | 22 <paper-action-dialog heading="Dialog Title"> |
23 <p>Some content</p> | 23 <p>Some content</p> |
24 <paper-button dismissive>More Info</paper-button> | 24 <paper-button dismissive>More Info</paper-button> |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 * @default '[affirmative],[dismissive]' | 95 * @default '[affirmative],[dismissive]' |
96 */ | 96 */ |
97 closeSelector: '[affirmative],[dismissive]' | 97 closeSelector: '[affirmative],[dismissive]' |
98 } | 98 } |
99 | 99 |
100 }); | 100 }); |
101 | 101 |
102 </script> | 102 </script> |
103 | 103 |
104 </polymer-element> | 104 </polymer-element> |
OLD | NEW |