Electron Js Blog Posts

Electron Frameless Window

A frameless window is a window without having any control to the title bar , menu bar . It is more are like a simple webpage.
You can adjust the electron app height and width dynamically by Dynamic height and width.
We can make the electron app as frameless using
mainWindow = new BrowserWindow({frame: false, width: 1000, height: 500})
but once if you make the app as frameless , all the controls like dragging , minimizing, maximizing, closing of the tool will be lost.
Electron is providing api's for the events like minimize, maximize, close and full screen. you can custommize according to your choice.
Dragging functionality restores once we set the style of customized title division to

0 Likes 402 Views