MCPcopy Index your code
hub / github.com/angular/angular / pause

Method pause

adev/src/app/features/home/animation/animation.ts:160–166  ·  view source on GitHub ↗

Pause the animation.

()

Source from the content-addressed store, hash-verified

158
159 /** Pause the animation. */
160 pause() {
161 if (this.animationFrameId !== null) {
162 cancelAnimationFrame(this.animationFrameId);
163 this.animationFrameId = null;
164 this._isPlaying.set(false);
165 }
166 }
167
168 /**
169 * Fast-forward or go back at a specific time.

Callers 5

seekMethod · 0.95
forwardMethod · 0.95
backMethod · 0.95
resetMethod · 0.95
animateMethod · 0.95

Calls 1

setMethod · 0.65

Tested by

no test coverage detected