1

base on Electron api we use win.show() to show the hidden application windows.

const win = new BrowserWindow({show: false});
win.show();

But how can we detect is Electron application showing or hidden? Thanks.

raksa
  • 898
  • 6
  • 17
  • 2
    Does this answer your question? [Are there events for when an Electron app is shown and hidden?](https://stackoverflow.com/questions/52709372/are-there-events-for-when-an-electron-app-is-shown-and-hidden) – Jeremy Thompson Oct 11 '21 at 03:09
  • Yes it possibly useful, but not best match for what I need, I expect it has method like "win.isShowing()" – raksa Oct 11 '21 at 17:27

0 Answers0