OLD | NEW |
1 | 1 /** |
2 | |
3 /** | |
4 * Use `Polymer.NeonAnimationBehavior` to implement an animation. | 2 * Use `Polymer.NeonAnimationBehavior` to implement an animation. |
5 * @polymerBehavior | 3 * @polymerBehavior |
6 */ | 4 */ |
7 Polymer.NeonAnimationBehavior = { | 5 Polymer.NeonAnimationBehavior = { |
8 | 6 |
9 properties: { | 7 properties: { |
10 | 8 |
11 /** | 9 /** |
12 * Defines the animation timing. | 10 * Defines the animation timing. |
13 */ | 11 */ |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 node.style[prefix] = value; | 58 node.style[prefix] = value; |
61 } | 59 } |
62 node.style[property] = value; | 60 node.style[property] = value; |
63 }, | 61 }, |
64 | 62 |
65 /** | 63 /** |
66 * Called when the animation finishes. | 64 * Called when the animation finishes. |
67 */ | 65 */ |
68 complete: function() {} | 66 complete: function() {} |
69 | 67 |
70 }; | 68 }; |
71 | |
OLD | NEW |