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

Function _parseAnimation

src/GSDevTools.js:37–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 }
36 }()),
37 _parseAnimation = animationOrId => (animationOrId instanceof Animation) ? animationOrId : animationOrId ? gsap.getById(animationOrId) : null,
38 _createElement = (type, container, cssText) => {
39 let element = _doc.createElementNS ? _doc.createElementNS(type === "svg" ? _svgNS : _domNS, type) : _doc.createElement(type);
40 if (container) {

Callers 1

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…