Device and Feature Detection API: Provides information about the used browser / device and cross platform support for certain events like media queries, orientation change or resizing.
This API is independent from any other part of the UI5 framework. This allows it to be loaded beforehand, if it is needed, to create the UI5 bootstrap dynamically depending on the capabilities of the browser or device.
Node | Description |
---|---|
sap.ui.Device.browser |
Contains information about the used browser. |
sap.ui.Device.media |
Event API for screen width changes. |
sap.ui.Device.orientation |
Common API for orientation change notifications across all platforms. |
sap.ui.Device.os |
Contains information about the operating system of the Device. |
sap.ui.Device.resize |
Common API for document window size change notifications across all platforms. |
sap.ui.Device.support |
Contains information about detected capabilities of the used browser or Device. |
sap.ui.Device.system |
Provides a basic categorization of the used device based on various indicators. |
Method | Description |
---|