* Cancel current animation
()
| 72 | * Cancel current animation |
| 73 | */ |
| 74 | cancel() { |
| 75 | if (this.currentAnimation) { |
| 76 | cancelAnimationFrame(this.currentAnimation); |
| 77 | this.currentAnimation = null; |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | /** |
| 82 | * Apply easing function to progress |
no outgoing calls
no test coverage detected