@cinc101/electron-capture
Version:
Electron multi-screen screenshot plugin with annotation and multi-language support.
21 lines (17 loc) • 471 B
HTML
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Electron Capture Plugin Demo</title>
</head>
<body>
<h1>Electron Capture Plugin Running...</h1>
<button id="captureButton">Start Screenshot</button>
<script>
const { ipcRenderer } = require('electron');
document.getElementById('captureButton')?.addEventListener('click', () => {
ipcRenderer.send('screenshot-plugin/request-capture');
});
</script>
</body>
</html>