- From: Kenneth Rohde Christiansen <notifications@github.com>
- Date: Thu, 13 Oct 2016 02:25:24 -0700
- To: w3c/manifest <manifest@noreply.github.com>
Received on Thursday, 13 October 2016 09:25:59 UTC
kenchris commented on this pull request.
> +};
+
+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.
+ </p>
+ <p>
+ Thus, the default action of the <a>BeforeInstallPromptEvent</a> is to
+ present an automated install prompt to the end user. Cancelling the
+ default action (via <code>.preventDefault()</code>) prevents the user
+ agent from presenting the automated install prompt.
we probably need an example
--
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-4033473
Received on Thursday, 13 October 2016 09:25:59 UTC