Answers for "track window size js"

0

track window size js

var windowWidth = $(window).width();
$(window).on('resize', function() {
    windowWidth = $(window).width();
    console.log(windowWidth);
});
Posted by: Guest on April-14-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language