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

Function setWindowSize

assets/js/unsub_page.js:5–8  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3var windowHeight = window.innerHeight;
4
5function setWindowSize() {
6 windowWidth = window.innerWidth;
7 windowHeight = window.innerHeight;
8};
9window.addEventListener('resize', setWindowSize);
10
11var eyes = document.querySelectorAll(".eyes");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected