Skip to content

Commit 3b15ee8

Browse files
Add note_taking manifest member (mdn#37544)
1 parent 008961a commit 3b15ee8

File tree

1 file changed

+48
-0
lines changed
  • files/en-us/web/manifest/note_taking

1 file changed

+48
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
title: note_taking
3+
slug: Web/Manifest/note_taking
4+
page-type: web-manifest-member
5+
status:
6+
- experimental
7+
browser-compat: html.manifest.note_taking
8+
---
9+
10+
{{QuickLinksWithSubpages("/en-US/docs/Web/Manifest")}}{{SeeCompatTable}}
11+
12+
The `note_taking` member identifies a web app as a note-taking app and defines related information, for example a URL pointing to functionality for taking a new note. This enables operating systems to integrate the app's note taking functionality, for example including a "New note" option in the app's context menu, or providing the app as an option for taking a note in other apps.
13+
14+
### Values
15+
16+
An object, which may contain the following values:
17+
18+
- `new_note_url`
19+
20+
- : A string representing the URL the developer would prefer the user agent to load when the user wants to take a new note via the web app. This value is a hint, and different implementations may choose to ignore it or provide it as a choice in appropriate places. The `new_note_url` is parsed with the app's manifest URL as its base URL and is ignored if not within the [scope](/en-US/docs/Web/Manifest/scope) of the manifest.
21+
22+
## Examples
23+
24+
```json
25+
{
26+
"name": "My Note Taking App",
27+
"description": "You can take notes!",
28+
"icons": [
29+
{
30+
"src": "icon/hd_hi",
31+
"sizes": "128x128"
32+
}
33+
],
34+
"start_url": "/index.html",
35+
"display": "standalone",
36+
"note_taking": {
37+
"new_note_url": "/new_note.html"
38+
}
39+
}
40+
```
41+
42+
## Specifications
43+
44+
{{Specifications}}
45+
46+
## Browser compatibility
47+
48+
{{Compat}}

0 commit comments

Comments
 (0)