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

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

Issue 1287713002: [MD settings] merge polymer 1.0.11; hack for settings checkbox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 1 Polymer({
2 2
3 Polymer({
4
5 is: 'fade-out-animation', 3 is: 'fade-out-animation',
6 4
7 behaviors: [ 5 behaviors: [
8 Polymer.NeonAnimationBehavior 6 Polymer.NeonAnimationBehavior
9 ], 7 ],
10 8
11 configure: function(config) { 9 configure: function(config) {
12 var node = config.node; 10 var node = config.node;
13 this._effect = new KeyframeEffect(node, [ 11 this._effect = new KeyframeEffect(node, [
14 {'opacity': '1'}, 12 {'opacity': '1'},
15 {'opacity': '0'} 13 {'opacity': '0'}
16 ], this.timingFromConfig(config)); 14 ], this.timingFromConfig(config));
17 return this._effect; 15 return this._effect;
18 } 16 }
19 17
20 }); 18 });
21
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698