ipcrenderer index html

Solutions on MaxInterview for ipcrenderer index html by the best coders in the world

showing results for - "ipcrenderer index html"
Caleb
23 Apr 2017
1<!doctype html>
2<html lang="en-US">
3<head>
4    <meta charset="utf-8"/>
5    <title>Title</title>
6</head>
7<body>
8    <script>
9        window.api.response("fromMain", (data) => {
10            console.log(`Received ${data} from main process`);
11        });
12        window.api.request("toMain", "some data");
13    </script>
14</body>
15</html>
16