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

Function _getAnimationById

esm/GSDevTools.js:404–406  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

402 return tl;
403},
404 _getAnimationById = function _getAnimationById(id) {
405 return gsap.getById(id) || _independentRoot.getById(id) || id === _recordedRoot.vars.id && _recordedRoot;
406},
407 _initCore = function _initCore(core) {
408 gsap = core || _getGSAP();
409

Callers 2

animationFunction · 0.70
initializeFunction · 0.70

Calls 1

getByIdMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…