Type | Object |
---|---|
Mandatory | No |
The shortcuts
member defines an array of shortcuts or links to key tasks or pages within a web app. A user agent can use these values to assemble a context menu to be displayed by the operating system when a user engages with the web app's icon. When user invokes a shortcut, the user agent will navigate to the address given by shortcut's url
member.
Examples
The following is a list of shortcuts a calendar app might have:
"shortcuts" : [ { "name": "Today's agenda", "url": "/today", "description": "List of events planned for today" }, { "name": "New event", "url": "/create/event" }, { "name": "New reminder", "url": "/create/reminder" } ]
Specification
Specification | Status | Comment | Feedback |
---|---|---|---|
Web App Manifest |
Working Draft |
Initial definition. |
Browser compatibility
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
No compatibility data found. Please contribute data for "html.manifest.shortcuts" (depth: 1) to the MDN compatibility data repository.