Index: third_party/polymer/v0_8/components-chromium/neon-animation/animations/ripple-animation.html |
diff --git a/third_party/polymer/v0_8/components-chromium/neon-animation/animations/ripple-animation.html b/third_party/polymer/v0_8/components-chromium/neon-animation/animations/ripple-animation.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e600cde51d2d6394403cbeda9a61df570a8d189b |
--- /dev/null |
+++ b/third_party/polymer/v0_8/components-chromium/neon-animation/animations/ripple-animation.html |
@@ -0,0 +1,37 @@ |
+<!-- |
+@license |
+Copyright (c) 2015 The Polymer Project Authors. All rights reserved. |
+This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt |
+The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
+The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt |
+Code distributed by Google as part of the polymer project is also |
+subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt |
+--><html><head><link rel="import" href="../../polymer/polymer.html"> |
+<link rel="import" href="../neon-shared-element-animation-behavior.html"> |
+<link rel="import" href="../web-animations.html"> |
+ |
+<!-- |
+`<ripple-animation>` scales and transform an element such that it appears to ripple from either |
+a shared element, or from a screen position, to full screen. |
+ |
+If using as a shared element animation in `<neon-animated-pages>`, use this animation in an `exit` |
+animation in the source page and in an `entry` animation in the destination page. Also, define the |
+hero elements in the `sharedElements` property (not a configuration property, see |
+`Polymer.NeonSharedElementAnimatableBehavior`). |
+ |
+If using a screen position, define the `gesture` property. |
+ |
+Configuration: |
+``` |
+{ |
+ name: 'ripple-animation`. |
+ id: <shared-element-id>, /* set this or gesture */ |
+ gesture: {x: <page-x>, y: <page-y>}, /* set this or id */ |
+ timing: <animation-timing>, |
+ toPage: <node>, /* define for the destination page */ |
+ fromPage: <node>, /* define for the source page */ |
+} |
+``` |
+--> |
+ |
+</head><body><script src="ripple-animation-extracted.js"></script></body></html> |