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

Side by Side Diff: polymer_1.0.4/bower_components/neon-animation/demo/tiles/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 Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.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/CONTRI BUTORS.txt
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/PATEN TS.txt
9 -->
10 <html>
11 <head>
12 <title>neon-animated-pages demo: tiles</title>
13
14 <meta charset="utf-8">
15 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
16 <meta name="viewport" content="width=device-width, minimum-scale=1.0, initia l-scale=1, user-scalable=yes">
17
18 <script src="../../../webcomponentsjs/webcomponents-lite.js"></script>
19
20 <link rel="import" href="../../../paper-styles/paper-styles.html">
21 <link rel="import" href="../../neon-animated-pages.html">
22 <link rel="import" href="../../neon-animations.html">
23 <link rel="import" href="circles-page.html">
24 <link rel="import" href="squares-page.html">
25
26 <style>
27
28 body {
29 overflow: hidden;
30 }
31
32 neon-animated-pages {
33 height: 100%;
34 }
35
36 </style>
37
38 <style is="custom-style">
39
40 :root {
41 --color-one: #4dd0e1;
42 --color-two: #ff9800;
43 }
44
45 </style>
46
47 </head>
48 <body class="fullbleed">
49
50 <template is="dom-bind">
51
52 <neon-animated-pages id="pages" selected="0">
53
54 <circles-page on-circle-click="_onCircleClick"></circles-page>
55
56 <squares-page on-click="_onSquaresClick"></squares-page>
57
58 </neon-animated-pages>
59
60 </template>
61
62 <script>
63
64 var scope = document.querySelector('template[is="dom-bind"]');
65
66 scope._onCircleClick = function(event) {
67 this.$.pages.selected = 1;
68 };
69
70 scope._onSquaresClick = function(event) {
71 this.$.pages.selected = 0;
72 };
73
74 </script>
75
76 </body>
77 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698