window.addEventListener('resize', (evt) => {
if (window.innerHeight == screen.height) {
console.log('FULL SCREEN');
} else {
console.log('NORMAL SCREEN');
}
});
window.addEventListener('resize', (evt) => {
if (window.innerHeight == screen.height) {
console.log('FULL SCREEN');
} else {
console.log('NORMAL SCREEN');
}
});