MCPcopy
hub / github.com/ampproject/amphtml / halt

Method halt

src/motion.js:167–171  ·  view source on GitHub ↗

* Halts the motion. The motion promise will be rejected since the motion * has been interrupted.

()

Source from the content-addressed store, hash-verified

165 * has been interrupted.
166 */
167 halt() {
168 if (this.continuing_) {
169 this.completeContinue_(false);
170 }
171 }
172
173 /**
174 * Chains to the motion's promise that will resolve when the motion has

Callers 6

testContinuationFunction · 0.45
test-animation.jsFile · 0.45
resetMethod · 0.45
setupGestures_Method · 0.45
onZoomedIn_Method · 0.45
setupGestures_Method · 0.45

Calls 1

completeContinue_Method · 0.95

Tested by

no test coverage detected