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

Function refreshHeight

esm/ScrollSmoother.js:556–561  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

554 };
555
556 function refreshHeight() {
557 height = content.clientHeight;
558 content.style.overflow = "visible";
559 _body.style.height = _win.innerHeight + (height - _win.innerHeight) / speed + "px";
560 return height - _win.innerHeight;
561 }
562
563 this.content = function (element) {
564 if (arguments.length) {

Callers 2

ScrollSmootherFunction · 0.85
constructorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…