fc10b53f95
* remove version information from html * change format for readability * clarify which console the message should appear in * minor changes to renderer.md * update UI on click instead of developer console * remove node-integration and fix md * update content * chore: remove **** Co-authored-by: Ethan Arrowood <ethan.arrowood@gmail.com> Co-authored-by: Cheng Zhao <github@zcbenz.com>
6 lines
320 B
JavaScript
6 lines
320 B
JavaScript
const NOTIFICATION_TITLE = 'Title'
|
|
const NOTIFICATION_BODY = 'Notification from the Renderer process. Click to log to console.'
|
|
const CLICK_MESSAGE = 'Notification clicked!'
|
|
|
|
new Notification(NOTIFICATION_TITLE, { body: NOTIFICATION_BODY })
|
|
.onclick = () => document.getElementById("output").innerText = CLICK_MESSAGE
|