Chromium Code Reviews| Index: third_party/polymer/v0_8/components-chromium/neon-animation/neon-shared-element-animatable-behavior-extracted.js |
| diff --git a/third_party/polymer/v0_8/components-chromium/neon-animation/neon-shared-element-animatable-behavior-extracted.js b/third_party/polymer/v0_8/components-chromium/neon-animation/neon-shared-element-animatable-behavior-extracted.js |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..8724e9e9214336aea4832f60194f6a5b123c4c01 |
| --- /dev/null |
| +++ b/third_party/polymer/v0_8/components-chromium/neon-animation/neon-shared-element-animatable-behavior-extracted.js |
| @@ -0,0 +1,23 @@ |
| + |
| + |
| + /** |
| + * Use `Polymer.NeonSharedElementAnimatableBehavior` to implement elements containing shared element |
| + * animations. |
| + * @polymerBehavior |
| + */ |
| + Polymer.NeonSharedElementAnimatableBehavior = [Polymer.NeonAnimatableBehavior, { |
| + |
| + properties: { |
| + |
| + /** |
| + * A map of shared element id to node. |
| + */ |
| + sharedElements: { |
| + type: Object, |
| + value: {} |
| + } |
| + |
| + } |
| + |
| + }]; |
| + |