Answers for "JS detect screen resize"

1

js detect screen size change

window.onresize = function(){
console.log("resize");
}
Posted by: Guest on April-19-2020
0

detect resize window javascript

window.addEventListener('resize', functionName);
Posted by: Guest on November-13-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language