- From: Kenneth Rohde Christiansen <notifications@github.com>
- Date: Thu, 20 Apr 2017 02:44:36 -0700
- To: w3c/manifest <manifest@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 20 April 2017 09:45:11 UTC
kenchris commented on this pull request.
> + <var>responseObj</var>.
+ </li>
+ </ol>
+ </section>
+ <section class="informative">
+ <h4>
+ Usage example
+ </h4>
+ <p>
+ This example shows how one might prevent an automated install
+ prompt from showing until the user clicks a button to install the
+ app. In this way, the site can control the installation experience.
+ </p>
+ <pre class="example"
+ title="Using beforeinstallprompt to present an install button">
+ window.addEventListener("beforeinstallprompt", async (event) => {
do you need the () around event here? is that because of async... normally you dont with one argument
--
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/520#pullrequestreview-33722885
Received on Thursday, 20 April 2017 09:45:11 UTC