note_taking
note_taking 成員將 Web 應用標識為筆記應用,並定義相關資訊,例如一個指向用於建立新筆記功能的 URL。這使得作業系統能夠整合應用的筆記功能,例如在應用的上下文選單中新增“新建筆記”選項,或者在其他應用中將該應用提供為建立筆記的選項。
值
一個物件,可能包含以下值
new_note_urlExperimental-
一個字串,表示當用戶希望透過 Web 應用建立新筆記時,開發者希望使用者代理載入的 URL。此值是一個提示,不同的實現可能會選擇忽略它,或在適當的位置將其作為選項提供。
new_note_url以應用的清單 URL 作為其基本 URL 進行解析,如果不在清單的 scope 內,則將被忽略。
示例
json
{
"name": "My Note Taking App",
"description": "You can take notes!",
"icons": [
{
"src": "icon/hd_hi",
"sizes": "128x128"
}
],
"start_url": "/index.html",
"display": "standalone",
"note_taking": {
"new_note_url": "/new_note.html"
}
}
規範
| 規範 |
|---|
| 清單孵化 # note_taking-member |
瀏覽器相容性
載入中…