ElectronBrowserWindow.getFocusedWindow method
ElectronBrowserWindow › getFocusedWindow
Unofficial
Returns the window that is focused in this application.Signature:
getFocusedWindow(): ElectronBrowserWindow | nullReturns: ElectronBrowserWindow | null — The focused BrowserWindow or null if none is focused.