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

Function addOnRefresh

esm/ScrollSmoother.js:341–343  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

339 tracker.reset();
340 },
341 addOnRefresh = function addOnRefresh() {
342 return ScrollTrigger.addEventListener("refresh", onRefresh);
343 },
344 restoreEffects = function restoreEffects() {
345 return effects && effects.forEach(function (st) {
346 return st.vars.onRefresh(st);

Callers 2

ScrollSmootherFunction · 0.85
constructorMethod · 0.85

Calls 1

addEventListenerMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…