What is the best approach to show a UI control on a desktop only, and not on a mobile device?

What is the best approach to show a UI control on a desktop only, and not on a mobile device?
A . Use the standard CSS class sapUiVisibleOnlyOnDesktop.
B . Use the Device API to check the environment and call setVisible on the UI control.
C . Use the UI control from sap.ui.commons. These UI controls can handle this automatically.

Answer: A

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments