electron draggable
snippet in html

electron draggable

user7890

button {
  -webkit-app-region: no-drag;
}

electron draggable

user9246

<body style="-webkit-app-region: drag">
</body>