English
ManifestOptions
Localized manifest and shortcut members, keyed by BCP 47 language tags.
Properties
| Property | Type | Default | Description |
|---|---|---|---|
background_color | string | | |
categories | string[] | [] | |
color_scheme_dark? | { background_color?: string; theme_color?: string } | Color overrides used when the operating system uses a dark theme. | |
description | string | _npm_package_description_ | |
description_localized? | Record<string, ManifestLocalizedText> | ||
dir | "ltr" | "rtl" | | |
display | Display | | |
display_override | DisplayOverride[] | [] | |
edge_side_panel? | { preferred_width?: number } | ||
file_handlers | { accept: Record<string, string[]>; action: string; icons?: IconResource[]; launch_type?: "single-client" | "multiple-clients"; name?: string }[] | [] | |
handle_links? | "auto" | "preferred" | "not-preferred" | ||
iarc_rating_id | string | '' | |
icons | IconResource[] | [] | |
icons_localized? | Record<string, IconResource[]> | ||
id | string | A string that represents the identity for the application | |
lang | string | | |
launch_handler? | { client_mode: LaunchHandlerClientMode | LaunchHandlerClientMode[] } | ||
name | string | _npm_package_name_ | |
name_localized? | Record<string, ManifestLocalizedText> | ||
note_taking? | { new_note_url?: string } | Identifies the application as a note-taking app. | |
orientation | "any" | "natural" | "landscape" | "landscape-primary" | "landscape-secondary" | "portrait" | "portrait-primary" | "portrait-secondary" | Defines the default orientation for all the website's top-level | |
prefer_related_applications | boolean | false | |
protocol_handlers | { protocol: string; url: string }[] | [] | |
publicPath | string | A combination of | |
related_applications | ManifestRelatedApplication[] | [] | |
scope | string | Restricts what web pages can be viewed while the manifest is applied | |
scope_extensions | { origin: string; type?: StringLiteralUnion<"origin", string> }[] | [] | |
screenshots | ManifestScreenshot[] | [] | |
share_target | ManifestShareTarget | ||
short_name | string | _npm_package_name_ | |
short_name_localized? | Record<string, ManifestLocalizedText> | ||
shortcuts | ManifestShortcut[] | [] | |
start_url | string | | |
theme_color | string | |