My app (PWA) has 7 views, five of them have to work on portait position (if the user put on landscape, notihing happend, the desgin not move) , two of then, if the user put device on landscape , the view show more information(columns).
So How can I control what view works on one position(portrait) and how works with two position(landscape/portrait)?
Sorry Joak, didn’t realise it was a PWA. Try the Screen Orientation API, although it doesn’t appear to be supported on Safari: https://w3c.github.io/screen-orientation/