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

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

Issue 1351623008: MD Settings: Languages model for language pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@SingletonPrefs
Patch Set: Created 5 years, 3 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
1 Polymer({ 1
2 2
3 Polymer({
4
3 is: 'opaque-animation', 5 is: 'opaque-animation',
4 6
5 behaviors: [ 7 behaviors: [
6 Polymer.NeonAnimationBehavior 8 Polymer.NeonAnimationBehavior
7 ], 9 ],
8 10
9 configure: function(config) { 11 configure: function(config) {
10 var node = config.node; 12 var node = config.node;
11 node.style.opacity = '0'; 13 node.style.opacity = '0';
12 this._effect = new KeyframeEffect(node, [ 14 this._effect = new KeyframeEffect(node, [
13 {'opacity': '1'}, 15 {'opacity': '1'},
14 {'opacity': '1'} 16 {'opacity': '1'}
15 ], this.timingFromConfig(config)); 17 ], this.timingFromConfig(config));
16 return this._effect; 18 return this._effect;
17 }, 19 },
18 20
19 complete: function(config) { 21 complete: function(config) {
20 config.node.style.opacity = ''; 22 config.node.style.opacity = '';
21 } 23 }
22 24
23 }); 25 });
26
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698