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

Function _setScrollTrigger

src/Observer.js:119–122  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

117 return Math.abs(max) >= Math.abs(min) ? max : min;
118 },
119 _setScrollTrigger = () => {
120 ScrollTrigger = gsap.core.globals().ScrollTrigger;
121 ScrollTrigger && ScrollTrigger.core && _integrate();
122 },
123 _initCore = core => {
124 gsap = core || _getGSAP();
125 if (!_coreInitted && gsap && typeof(document) !== "undefined" && document.body) {

Callers 2

_initCoreFunction · 0.70
initMethod · 0.70

Calls 1

_integrateFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…