How do you make an electron browser window full screen?

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

1 Like

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 Likes

BrowserWindow.maximize()

BrowserWindow.minimize() function is not working on mac os while fullscreen mode.

can I make the electron app only in fullscreen? the user should not be able to un-fullscreen the app.