diff --git a/files/en-us/web/manifest/background_color/index.md b/files/en-us/web/manifest/background_color/index.md index 538a92bb0cf0aa9..573ba05871541b5 100644 --- a/files/en-us/web/manifest/background_color/index.md +++ b/files/en-us/web/manifest/background_color/index.md @@ -7,16 +7,9 @@ browser-compat: html.manifest.background_color {{QuickLinksWithSubpages("/en-US/docs/Web/Manifest")}} -
Type | -String |
-
---|
Type | -Array of String s |
-
---|
Type | -String |
-
---|
Type | -Array |
-
---|
Display Mode | -Description | -
---|---|
browser |
- - The application opens in a conventional browser tab or new window, - depending on the browser and platform. This is the default. - | -
fullscreen |
- - All of the available display area is used and no user agent - {{Glossary("chrome")}} is shown. - | -
minimal-ui |
- - The application will look and feel like a standalone application with - a minimal set of UI elements for controlling navigation. The - elements will vary by browser. - | -
standalone |
- - The application will look and feel like a standalone application. This - can include the application having a different window, its own icon in - the application launcher, etc. In this mode, the user agent will exclude - UI elements for controlling navigation, but can include other UI - elements such as a status bar. - | -
tabbed |
- - The application can contain multiple application contexts inside a single OS-level window. Supporting browsers can choose how to display these contexts, but a common approach is to provide a tab bar to switch between them. - | -
window-controls-overlay |
- - This display mode only applies when the application is in a separate PWA - window and on a desktop operating system. The application will opt-in to - the Window Controls Overlay feature, where the full window surface area - will be available for the app's web content and the window control buttons - (maximize, minimize, close, and other PWA-specific buttons) will appear - as an overlay above the web content. - | -
Type | -Array |
-
---|
Member | -Description | -
---|---|
action |
-
- A string containing the URL to navigate to when a file is handled. - This URL must be within the navigation scope of the PWA, which is the set of URLs that the PWA can navigate to. The navigation scope of a PWA defaults to its start_url member, but can also be defined by using the scope member.
- |
-
accept |
-
- An object. For each property in the object:
-
|
-
Type | -String |
-
---|
Type | -Object |
-
---|
Member | -Description | -
---|---|
client_mode |
- A string, or comma-separated array of strings, which specifies the context in which the app should be loaded when launched. If an array of strings is provided, the first valid value is used. Possible values are: -
|
-
Type | -String |
-
---|
Type | -Array |
-
---|
Member | -Description | -
---|---|
protocol |
-
- A required string containing the protocol to be handled; e.g.:
- mailto , ms-word , web+jngl .
- |
-
url |
-
- Required HTTPS URL within the application
- scope that will handle the
- protocol. The %s token will be replaced by the URL starting
- with the protocol handler's scheme. If url is a relative
- URL, the base URL will be the URL of the manifest.
- |
-
Type | -String |
-
---|
Type | -Array |
-
---|
Type | -Object |
-
---|
Member | -Description | -
---|---|
scope |
- - A string representing the service worker's registration scope. - | -
src |
- - A string representing the URL to download the service worker script from. - | -
use_cache |
-
- A boolean that sets how the HTTP cache is used for service worker script resources during updates. It provides equivalent functionality to certain values of the updateViaCache option provided when a service worker is registered via JavaScript using {{domxref("ServiceWorkerContainer.register()")}}.
-
|
-
Type | -Object |
-
---|
Type | -Array |
-
---|
Member | -Description | -
---|---|
name |
- A string that can be displayed to the user in a context menu. | -
short_name |
- - A string that can be displayed where there is insufficient space to - display the full name of the shortcut. - | -
description |
- - A string that describes the purpose of the shortcut. It may be exposed - to assistive technology. - | -
url |
- - A URL within the application that opens when the shortcut is activated. - | -
icons |
- - A set of icons that represent the shortcut. They can be used, e.g., in - the context menu. When included, the icon set must include a 96x96 pixel - icon. - | -