How do you make an electron browser window full screen?


#1

How do you make an electron browser window full screen?
By full screen I mean a window that is above the task bar where the task bar still visible.
Thanks


#2

Take a look at the BrowserWindow documentation:
http://electron.atom.io/docs/latest/api/browser-window/

If I understand correctly, you want to maximize the window, rather than running your application in full-screen. The term full-screen is usually reserved for a scenario where only the application is visible, nothing else.

To maximize your application window, you can use BrowserWindow.maximize().
To run your application in full-screen, you can use BrowserWindow.setFullScreen(true).


#3

BrowserWindow.maximize()