Index: third_party/polymer/v0_8/components-chromium/neon-animation/animations/fade-out-animation-extracted.js |
diff --git a/third_party/polymer/v0_8/components-chromium/neon-animation/animations/fade-out-animation-extracted.js b/third_party/polymer/v0_8/components-chromium/neon-animation/animations/fade-out-animation-extracted.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3f06ec54b9a42399d323e7fd5d8a5b5ea59bc6df |
--- /dev/null |
+++ b/third_party/polymer/v0_8/components-chromium/neon-animation/animations/fade-out-animation-extracted.js |
@@ -0,0 +1,21 @@ |
+ |
+ |
+ Polymer({ |
+ |
+ is: 'fade-out-animation', |
+ |
+ behaviors: [ |
+ Polymer.NeonAnimationBehavior |
+ ], |
+ |
+ configure: function(config) { |
+ var node = config.node; |
+ this._effect = new KeyframeEffect(node, [ |
+ {'opacity': '1'}, |
+ {'opacity': '0'} |
+ ], this.timingFromConfig(config)); |
+ return this._effect; |
+ } |
+ |
+ }); |
+ |