- From: Kenneth Rohde Christiansen <notifications@github.com>
- Date: Thu, 13 Oct 2016 02:24:59 -0700
- To: w3c/manifest <manifest@noreply.github.com>
Received on Thursday, 13 October 2016 09:25:29 UTC
kenchris commented on this pull request.
> +};
+
+[Constructor(DOMString typeArg, optional BeforeInstallPromptEventInit eventInit)]
+interface BeforeInstallPromptEvent : Event {
+ readonly attribute Promise<AppBannerPromptOutcome> userChoice;
+ Promise<void> prompt();
+};
+
+dictionary BeforeInstallPromptEventInit : EventInit {
+ AppBannerPromptOutcome userChoice;
+};
+ </pre>
+ <p>
+ The <dfn><code>BeforeInstallPromptEvent</code></dfn> is dispatched
+ prior to activating an <a>automated install prompt</a>, allowing a
+ developer to prevent the default action for an install prompt.
instead of a
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/pull/506#pullrequestreview-4033381
Received on Thursday, 13 October 2016 09:25:29 UTC