93788e76e0
Refs #20442 Adds the basic notification and notification with custom image examples from electron-api-demos into runnable Fiddle examples. Gist links to Fiddles (same as code submitted in this PR): Basic Notification: https://gist.github.com/102945f83f559e7944797175d8fd8af4 Notification with image: https://gist.github.com/2688bf4bfc27ce02f5d74224828eb928 Co-Authored-By: Erick Zhao <erick@hotmail.ca>
22 lines
554 B
HTML
22 lines
554 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
</head>
|
|
<body>
|
|
<div>
|
|
<h3>Basic notification</h3>
|
|
<i>Supports: Win 7+, macOS, Linux (that supports libnotify)<span>|</span> Process: Renderer</i>
|
|
<div>
|
|
<div>
|
|
<button id="basic-noti">View demo</button>
|
|
</div>
|
|
<p>This demo demonstrates a basic notification. Text only.</p>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
// You can also require other files to run in this process
|
|
require('./renderer.js')
|
|
</script>
|
|
</body>
|
|
</html>
|