e9a43be9be
* docs: add IPC doc * fix: use "string" primitive * use 'string' ipcrenderer * use "number" primitive * Update docs/tutorial/ipc.md Co-authored-by: Jeremy Rose <nornagon@nornagon.net> * Update docs/tutorial/ipc.md Co-authored-by: Jeremy Rose <nornagon@nornagon.net> * add code sample Co-authored-by: Jeremy Rose <nornagon@nornagon.net>
14 lines
430 B
HTML
14 lines
430 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
|
|
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'">
|
|
<title>Dialog</title>
|
|
</head>
|
|
<body>
|
|
<button type="button" id="btn">Open a File</button>
|
|
File path: <strong id="filePath"></strong>
|
|
<script src='./renderer.js'></script>
|
|
</body>
|
|
</html>
|