OLD | NEW |
1 | 1 |
2 | 2 |
3 /** | 3 /** |
4 * `Polymer.NeonAnimationRunnerBehavior` adds a method to run animations. | 4 * `Polymer.NeonAnimationRunnerBehavior` adds a method to run animations. |
5 * @polymerBehavior | 5 * @polymerBehavior |
6 */ | 6 */ |
7 Polymer.NeonAnimationRunnerBehavior = [Polymer.NeonAnimatableBehavior, { | 7 Polymer.NeonAnimationRunnerBehavior = [Polymer.NeonAnimatableBehavior, { |
8 | 8 |
9 properties: { | 9 properties: { |
10 | 10 |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 /** | 88 /** |
89 * Cancels the currently running animation. | 89 * Cancels the currently running animation. |
90 */ | 90 */ |
91 cancelAnimation: function() { | 91 cancelAnimation: function() { |
92 if (this._player) { | 92 if (this._player) { |
93 this._player.cancel(); | 93 this._player.cancel(); |
94 } | 94 } |
95 } | 95 } |
96 | 96 |
97 }]; | 97 }]; |
OLD | NEW |