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

Side by Side Diff: polymer_1.0.4/bower_components/paper-toast/demo/index.html

Issue 1205703007: Add polymer 1.0 to npm_modules (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Renamed folder to 1.0.4 Created 5 years, 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!doctype html>
2 <!--
3 @license
4 Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
5 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
6 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
7 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
8 Code distributed by Google as part of the polymer project is also
9 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
10 -->
11 <html>
12 <head>
13 <title>paper-toast</title>
14
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">
17 <meta name="apple-mobile-web-app-capable" content="yes">
18
19 <script src="../../webcomponentsjs/webcomponents-lite.js"></script>
20
21 <link rel="import" href="../paper-toast.html">
22 <link rel="import" href="../../paper-button/paper-button.html" >
23
24 <style>
25 html, body {
26 height: 100%;
27 }
28
29 body {
30 overflow: hidden;
31 margin: 0;
32 font-family: RobotoDraft, 'Helvetica Neue', Helvetica, Arial;
33 -webkit-tap-highlight-color: rgba(0,0,0,0);
34 -webkit-touch-callout: none;
35 }
36
37 paper-button {
38 margin: 20px;
39 }
40 </style>
41
42 </head>
43 <body>
44
45 <paper-button raised onclick="document.querySelector('#toast1').show()">Discar d Draft</paper-button>
46
47 <paper-button raised onclick="document.querySelector('#toast2').show()">Get Me ssages</paper-button>
48
49 <paper-toast id="toast1" text="Your draft has been discarded."></paper-toast>
50
51 <paper-toast id="toast2" text="Connection timed out. Showing limited messages. ">
52 <span role="button" tabindex="0" style="color: #eeff41;margin: 10px" onclick ="console.log('RETRY')">Retry</span>
53 </paper-toast>
54
55 </body>
56 </html>
OLDNEW
« no previous file with comments | « polymer_1.0.4/bower_components/paper-toast/bower.json ('k') | polymer_1.0.4/bower_components/paper-toast/hero.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698