MCPcopy
hub / github.com/greensock/GSAP / _interrupt

Function _interrupt

esm/gsap-core.js:987–993  ·  view source on GitHub ↗
(animation)

Source from the content-addressed store, hash-verified

985 return result;
986},
987 _interrupt = function _interrupt(animation) {
988 _removeFromParent(animation);
989
990 animation.scrollTrigger && animation.scrollTrigger.kill(!!_reverting);
991 animation.progress() < 1 && _callback(animation, "onInterrupt");
992 return animation;
993},
994 _quickTween,
995 _registerPluginQueue = [],
996 _createPlugin = function _createPlugin(config) {

Callers 1

gsap-core.jsFile · 0.70

Calls 4

_removeFromParentFunction · 0.70
_callbackFunction · 0.70
killMethod · 0.65
progressMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…