MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / resizer

Function resizer

assets/js/drumKit.js:106–114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104
105
106const resizer = () =>{
107 var scrollHeight = Math.max(
108 document.body.scrollHeight, document.documentElement.scrollHeight,
109 document.body.offsetHeight, document.documentElement.offsetHeight,
110 document.body.clientHeight, document.documentElement.clientHeight
111 );
112 console.log(scrollHeight);
113 document.body.style.setProperty("--imageoverlay", scrollHeight + "px");
114}
115
116resizer();
117

Callers 1

drumKit.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected