frameless window stay at top of the window 10 in electron code example
Example 1: electron draggable
button {
-webkit-app-region: no-drag;
}
Example 2: electron draggable
<body style="-webkit-app-region: drag">
</body>
button {
-webkit-app-region: no-drag;
}
<body style="-webkit-app-region: drag">
</body>