SAP

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Device Orientation Detection

The sap.ui.Device API provides developers with information about the device on which an SAP UI5 application is running, including its current orientation. Developers use this capability to detect whether a device is in portrait or landscape mode, enabling them to adapt the application's layout and behavior accordingly. For more details, see the Device API documentation.

Docs explaining this concept

Concepts that build on this