nerdexam
SAP

C_FIORDEV_21 · Question #177

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

The correct answer is A. Use the standard CSS class sapUiVisibleOnlyOnDesktop. See the full explanation below for the reasoning.

Question

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

Options

  • AUse the standard CSS class sapUiVisibleOnlyOnDesktop.
  • BUse the Device API to check the environment and call setVisible on the UI control.
  • CUse the UI control from sap.ui.commons. These UI controls can handle this automatically.

How the community answered

(44 responses)
  • A
    73% (32)
  • B
    7% (3)
  • C
    20% (9)

Community Discussion

No community discussion yet for this question.

Full C_FIORDEV_21 Practice