| // GENERATED CONTENT - DO NOT EDIT |
| // Content was automatically extracted by Reffy into webref |
| // (https://github.com/w3c/webref) |
| // Source: Web App Manifest (https://w3c.github.io/manifest/) |
| |
| dictionary WebAppManifest { |
| TextDirectionType dir = "auto"; |
| DOMString lang; |
| USVString name; |
| USVString short_name; |
| sequence<ManifestImageResource> icons; |
| USVString start_url; |
| DisplayModeType display = "browser"; |
| OrientationLockType orientation; |
| USVString theme_color; |
| USVString background_color; |
| USVString scope; |
| sequence<ExternalApplicationResource> related_applications; |
| boolean prefer_related_applications = "false"; |
| sequence<ShortcutItem> shortcuts; |
| }; |
| |
| enum TextDirectionType { "ltr", "rtl", "auto" }; |
| |
| enum DisplayModeType { |
| "fullscreen", |
| "standalone", |
| "minimal-ui", |
| "browser" |
| }; |
| |
| dictionary ManifestImageResource : ImageResource { |
| USVString purpose; |
| }; |
| |
| dictionary ShortcutItem { |
| required USVString name; |
| USVString short_name; |
| USVString description; |
| required USVString url; |
| sequence<ManifestImageResource> icons; |
| }; |
| |
| dictionary ExternalApplicationResource { |
| required USVString platform; |
| USVString url; |
| DOMString id; |
| USVString min_version; |
| sequence<Fingerprint> fingerprints; |
| }; |
| |
| dictionary Fingerprint { |
| USVString type; |
| USVString value; |
| }; |