Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / third_party / polymer / v1_0 / components-chromium / neon-animation / animations / opaque-animation-extracted.js
blobc5a4b5cf1f4dfe790c09948f1b05ec8e5fac661d
3 Polymer({
5 is: 'opaque-animation',
7 behaviors: [
8 Polymer.NeonAnimationBehavior
9 ],
11 configure: function(config) {
12 var node = config.node;
13 node.style.opacity = '0';
14 this._effect = new KeyframeEffect(node, [
15 {'opacity': '1'},
16 {'opacity': '1'}
17 ], this.timingFromConfig(config));
18 return this._effect;
21 complete: function(config) {
22 config.node.style.opacity = '';
25 });