+ 4

How to make javascript detect device rotation?

I am a sololearn app user and I have used it for now two months. What suprised me are the web codes which I run and then change background color when I rotate my phone. help

2nd Jan 2018, 10:12 PM
Kijjambu Mahadi
Kijjambu Mahadi - avatar
1 Respuesta
+ 17
devicemotion event. or orientationchange...
2nd Jan 2018, 10:14 PM
Valen.H. ~
Valen.H. ~ - avatar