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

Side by Side Diff: third_party/polymer/v0_8/components-chromium/neon-animation/animations/opaque-animation-extracted.js

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
3 Polymer({
4
5 is: 'opaque-animation',
6
7 behaviors: [
8 Polymer.NeonAnimationBehavior
9 ],
10
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;
19 },
20
21 complete: function(config) {
22 config.node.style.opacity = '';
23 }
24
25 });
26
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698