- From: Marcos Cáceres <notifications@github.com>
- Date: Tue, 07 Nov 2017 20:10:33 +0000 (UTC)
- To: w3c/payment-request <payment-request@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 7 November 2017 20:11:03 UTC
> It's worth noting that this workaround is not ideal, because show() may not always be callable without a user gesture. I don't think there is a requirement on user gesture... just that the page has focus. Does that help? I don't remember who showed this... but: ```JS const pr = new PaymentRequest(method, options, details); pr.show(getUpdateTotal()); // show loading until `getUpdateTotal()`'s promise resolves ``` -- 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/payment-request/issues/645#issuecomment-342606873
Received on Tuesday, 7 November 2017 20:11:03 UTC