OLD | NEW |
1 | 1 Polymer({ |
2 | 2 |
3 Polymer({ | |
4 | |
5 is: 'transform-animation', | 3 is: 'transform-animation', |
6 | 4 |
7 behaviors: [ | 5 behaviors: [ |
8 Polymer.NeonAnimationBehavior | 6 Polymer.NeonAnimationBehavior |
9 ], | 7 ], |
10 | 8 |
11 /** | 9 /** |
12 * @param {{ | 10 * @param {{ |
13 * node: !Element, | 11 * node: !Element, |
14 * transformOrigin: (string|undefined), | 12 * transformOrigin: (string|undefined), |
(...skipping 12 matching lines...) Expand all Loading... |
27 } | 25 } |
28 | 26 |
29 this._effect = new KeyframeEffect(node, [ | 27 this._effect = new KeyframeEffect(node, [ |
30 {'transform': transformFrom}, | 28 {'transform': transformFrom}, |
31 {'transform': transformTo} | 29 {'transform': transformTo} |
32 ], this.timingFromConfig(config)); | 30 ], this.timingFromConfig(config)); |
33 | 31 |
34 return this._effect; | 32 return this._effect; |
35 } | 33 } |
36 | 34 |
37 }); | 35 }); |
38 | |
OLD | NEW |