Eel icon indicating copy to clipboard operation
Eel copied to clipboard

eel.stop(), eel.exit() or eel.quit() function to close browser app

Open prateekrajgautam opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. I want to close app after taking inputs from user,

Describe the solution you'd like as eel.start is user to open app or browser there may be and option to close same browser

Describe alternatives you've consideredright not I have to as user to close browser after inputs.

prateekrajgautam avatar Feb 09 '22 08:02 prateekrajgautam

in JS:

function closeWindow() {
  let new_window =
    open(location, '_self');
  new_window.top.close();
  }

Then call the function from a link or button or anything in HTML.

GBry avatar Feb 09 '22 15:02 GBry