electron no title bar code example
Example 1: electron draggable
button {
-webkit-app-region: no-drag;
}
Example 2: no frame electron
const mainWindow = new BrowserWindow({
width: 1600,
height: 900,
frame: false,
});
button {
-webkit-app-region: no-drag;
}
const mainWindow = new BrowserWindow({
width: 1600,
height: 900,
frame: false,
});