electron frameless window 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,
});
Example 3: electron draggable
<body style="-webkit-app-region: drag">
</body>