- From: Kenneth Rohde Christiansen <notifications@github.com>
- Date: Mon, 24 Oct 2016 04:20:50 -0700
- To: w3c/manifest <manifest@noreply.github.com>
Received on Monday, 24 October 2016 11:21:19 UTC
kenchris commented on this pull request. > + * @param {Element} element A DOM element that simulates the pop-up. + * @return {Promise<void>} Resolves when user makes a choice. + */ + async function requestInstallPrompt(event, element) { + const internal = internalSlots.get(event); + internal.didPrompt = true; + const promptOutcome = await showInstallPrompt(element); + internal.userChoiceResolver(promptOutcome); + } + + /** + * Implementation of BeforeInstallPromptEvent. + * + */ + class BeforeInstallPromptEvent extends Event { + unneeded newline -- 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-5428513
Received on Monday, 24 October 2016 11:21:19 UTC