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

Side by Side Diff: third_party/polymer/v0_8/components-chromium/neon-animation/animations/hero-animation.html

Issue 1162563004: Upgrade to 1.0 and switch clients to dom-repeat where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a layout import and remove the gzipped webanimation in reproduce.sh 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 <!--
2 @license
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 --><html><head><link rel="import" href="../../polymer/polymer.html">
10 <link rel="import" href="../neon-shared-element-animation-behavior.html">
11 <link rel="import" href="../web-animations.html">
12
13 <!--
14 `<hero-animation>` is a shared element animation that scales and transform an el ement such that it
15 appears to be shared between two pages. Use this in `<neon-animated-pages>`. The source page
16 should use this animation in an 'exit' animation and set the `fromPage` configur ation property to
17 itself, and the destination page should use this animation in an `entry` animati on and set the
18 `toPage` configuration property to itself. They should also define the hero elem ents in the
19 `sharedElements` property (not a configuration property, see
20 `Polymer.NeonSharedElementAnimatableBehavior`).
21
22 Configuration:
23 ```
24 {
25 name: 'hero-animation',
26 id: <shared-element-id>,
27 timing: <animation-timing>,
28 toPage: <node>, /* define for the destination page */
29 fromPage: <node>, /* define for the source page */
30 }
31 ```
32 -->
33
34 </head><body><script src="hero-animation-extracted.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698