| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 @license | 2 @license |
| 3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. | 3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. |
| 4 This code may only be used under the BSD style license found at http://polym
er.github.io/LICENSE.txt | 4 This code may only be used under the BSD style license found at http://polym
er.github.io/LICENSE.txt |
| 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS
.txt | 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS
.txt |
| 6 The complete set of contributors may be found at http://polymer.github.io/CO
NTRIBUTORS.txt | 6 The complete set of contributors may be found at http://polymer.github.io/CO
NTRIBUTORS.txt |
| 7 Code distributed by Google as part of the polymer project is also | 7 Code distributed by Google as part of the polymer project is also |
| 8 subject to an additional IP rights grant found at http://polymer.github.io/P
ATENTS.txt | 8 subject to an additional IP rights grant found at http://polymer.github.io/P
ATENTS.txt |
| 9 --> | 9 --> |
| 10 <!doctype html> | 10 <!doctype html> |
| 11 <html> | 11 <html> |
| 12 <head> | 12 <head> |
| 13 <title>paper-toast</title> | 13 <title>paper-toast</title> |
| 14 | 14 |
| 15 <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-
scale=1, user-scalable=yes"> | 15 <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-
scale=1, user-scalable=yes"> |
| 16 <meta name="mobile-web-app-capable" content="yes"> | 16 <meta name="mobile-web-app-capable" content="yes"> |
| 17 <meta name="apple-mobile-web-app-capable" content="yes"> | 17 <meta name="apple-mobile-web-app-capable" content="yes"> |
| 18 | 18 |
| 19 <script src="../platform/platform.js"></script> | 19 <script src="../webcomponentsjs/webcomponents.js"></script> |
| 20 | 20 |
| 21 <link rel="import" href="paper-toast.html"> | 21 <link rel="import" href="paper-toast.html"> |
| 22 <link rel="import" href="../font-roboto/roboto.html" > | 22 <link rel="import" href="../font-roboto/roboto.html" > |
| 23 <link rel="import" href="../paper-button/paper-button.html" > | 23 <link rel="import" href="../paper-button/paper-button.html" > |
| 24 | 24 |
| 25 <style> | 25 <style> |
| 26 | 26 |
| 27 html, body { | 27 html, body { |
| 28 height: 100%; | 28 height: 100%; |
| 29 } | 29 } |
| (...skipping 28 matching lines...) Expand all Loading... |
| 58 <paper-toast id="toast1" text="Your draft has been discarded."></paper-toast> | 58 <paper-toast id="toast1" text="Your draft has been discarded."></paper-toast> |
| 59 | 59 |
| 60 <paper-toast id="toast2" role="alert" text="Connection timed out. Showing limi
ted messages."> | 60 <paper-toast id="toast2" role="alert" text="Connection timed out. Showing limi
ted messages."> |
| 61 <div style="color: #eeff41;" onclick="console.log('RETRY')">Retry</div> | 61 <div style="color: #eeff41;" onclick="console.log('RETRY')">Retry</div> |
| 62 </paper-toast> | 62 </paper-toast> |
| 63 | 63 |
| 64 <paper-toast id="toast3" class="capsule" text="Message sent" style="padding-ri
ght: 60px;"></paper-toast> | 64 <paper-toast id="toast3" class="capsule" text="Message sent" style="padding-ri
ght: 60px;"></paper-toast> |
| 65 | 65 |
| 66 </body> | 66 </body> |
| 67 </html> | 67 </html> |
| OLD | NEW |