English
ManifestOptions
Properties
| Property | Type | Default | Description |
|---|---|---|---|
background_color | string | | |
categories | string[] | [] | |
description | string | _npm_package_description_ | |
dir | "ltr" | "rtl" | | |
display | Display | | |
display_override | DisplayOverride[] | [] | |
edge_side_panel? | { preferred_width?: number } | ||
file_handlers | { accept: Record<string, string[]>; action: string }[] | [] | |
handle_links? | "auto" | "preferred" | "not-preferred" | ||
iarc_rating_id | string | '' | |
icons | 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_ | |
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 | { id?: string; platform: string; url: string }[] | [] | |
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_ | |
shortcuts | ManifestShortcut[] | [] | |
start_url | string | | |
theme_color | string | |