Answers for "detect fullscreen"

0

detect fullscreen

window.addEventListener('resize', (evt) => {
    if (window.innerHeight == screen.height) {
        console.log('FULL SCREEN');
    } else {
        console.log('NORMAL SCREEN');
    }
});
Posted by: smore2014 on August-01-2022

Code answers related to "Javascript"

Browse Popular Code Answers by Language