Electron Webview unload Event and Web view Dialog


#1

I have the use case where I am displaying the guest web site inside webview .

  1. Guest website does the some Api call on the unload, but this is not getting called when the user closes the electron app.
  2. Is there any way to cancel the Electron app closing action, when the Web-view is displaying Confirmation?
  3. If yes How we can detect it.