drag electron js 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>