- From: Kenneth Rohde Christiansen <notifications@github.com>
- Date: Mon, 24 Oct 2016 04:27:53 -0700
- To: w3c/manifest <manifest@noreply.github.com>
Received on Monday, 24 October 2016 11:28:21 UTC
kenchris commented on this pull request.
> + await Promise.all(installProcesses);
+ const prompt = document.createElement("fieldset");
+ prompt.id = "installprompt";
+ prompt.innerHTML = `
+ <h2>Add to Home screen</h2>
+ <p>... the foo app ...</p>
+ <button id="cancel">CANCEL</button>
+ <button id="add">ADD</button>
+ `;
+ const cancel = prompt.querySelector("#cancel");
+ const add = prompt.querySelector("#add");
+ document.body.appendChild(prompt);
+ const p = new Promise((resolve) => {
+ add.addEventListener("click", () => {
+ resolve("accepted");
+ //emulate installation to home screen
// Emulate...
--
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-5429299
Received on Monday, 24 October 2016 11:28:21 UTC