electron-docking
Version:
An example application that demonstrates sticky/dockable windows.
35 lines (29 loc) • 950 B
HTML
<html>
<head>
<title>Hello World!</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="./style/index.css" />
</head>
<body>
<main>
<header>
<h1>Titlebar</h1>
<div class="actions">
<button class="action-close btn-close" onclick="Handle_OnClickClose">X</button>
</div>
</header>
<section>
<h1>Click to drag</h1>
<p>Move near edges</p>
<form class="btn-group">
<label>
<input type="checkbox" name="chk_enabled" value="1" checked />
<span>Enabled</span>
</label>
</form>
</section>
</main>
<script src="es6://script/app.js" type="module" type="application/javascript"></script>
</body>
</html>