Detect device rotation (portrait/landscape mode)

0
How can i detect whether the app is running in portrait or landscape mode and trigger a layout change based on device rotation  in mendix.
asked
1 answers
0

Changing the styling (layout) of you application based on the orientation of a device can be done with the help of media queries in css.

An explanation and example can be found on: https://developer.mozilla.org/en-US/docs/Web/API/CSS_Object_Model/Managing_screen_orientation

Hope this helps you in finding a solution for your requirements.

answered