MCPcopy
hub / github.com/toorshia/justgage / cancel

Method cancel

src/core/GaugeAnimator.js:74–79  ·  view source on GitHub ↗

* Cancel current animation

()

Source from the content-addressed store, hash-verified

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

Callers 3

animateMethod · 0.95
destroyMethod · 0.80
animator.test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected