[w3c/browser-payment-api] Adding dialog close event (#387)

We noticed that there is not a way to respond to the Payment Mediator UI being torn down. We have the .show() callback when the PaymentRequest is resolved, but the spec currently says this occurs as soon as the PaymentResponse is received. 

I propose that we add an event for when the dialog closes, an "ondialogclose" event. Thoughts?

-- 
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/browser-payment-api/issues/387

Received on Wednesday, 28 December 2016 02:19:40 UTC