displayMode property

String? displayMode
getter/setter pair

The display mode of the web app.

Possible values include: - "minimalUi", the device's status bar, navigation bar, the app's URL, and a refresh button are visible when the app is open. For HTTP URLs, you can only select this option. - "standalone", the device's status bar and navigation bar are visible when the app is open. - "fullScreen", the app opens in full screen mode, hiding the device's status and navigation bars. All browser UI elements, page URL, system status bar and back button are not visible, and the web app takes up the entirety of the available display area. Possible string values are:

  • "displayModeUnspecified"
  • "minimalUi" : Opens the web app with a minimal set of browser UI elements for controlling navigation and viewing the page URL.
  • "standalone" : Opens the web app to look and feel like a standalone native application. The browser UI elements and page URL are not visible, however the system status bar and back button are visible.
  • "fullScreen" : Opens the web app in full screen without any visible controls. The browser UI elements, page URL, system status bar and back button are not visible, and the web app takes up the entirety of the available display area.

Implementation

core.String? displayMode;