-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBeforeInstallPromptEvent.json
26 lines (26 loc) · 1.27 KB
/
BeforeInstallPromptEvent.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"name": "BeforeInstallPromptEvent",
"description": "",
"members": [
{
"name": "BeforeInstallPromptEvent()",
"link": "/en-US/docs/Web/API/BeforeInstallPromptEvent/BeforeInstallPromptEvent",
"description": "Creates a new BeforeInstallPromptEvent."
},
{
"name": "BeforeInstallPromptEvent.platforms",
"link": "/en-US/docs/Web/API/BeforeInstallPromptEvent/platforms",
"description": "Returns an array of DOMString items containing the platforms on which the event was dispatched. This is provided for user agents that want to present a choice of versions to the user such as, for example, \"web\" or \"play\" which would allow the user to chose between a web version or an Android version."
},
{
"name": "BeforeInstallPromptEvent.userChoice",
"link": "/en-US/docs/Web/API/BeforeInstallPromptEvent/userChoice",
"description": "Returns a Promise that resolves to a DOMString containing either \u0027installed\u0027 or \u0027dismissed\u0027."
},
{
"name": "BeforeInstallPromptEvent.prompt()",
"link": "/en-US/docs/Web/API/BeforeInstallPromptEvent/prompt",
"description": "Allows a developer to show the install prompt at a time of their own choosing. This method returns a Promise."
}
]
}