-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
36 lines (34 loc) · 1.04 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Simple Vanilla Notifications</title>
</head>
<body>
<h1>Simple Vanilla Notifications</h1>
<p>
<a href="https://github.com/zadeviggers/Simple-Vanilla-Notifications"
>GitHub</a
>
<a href="https://www.npmjs.com/package/simple-vanilla-notifications"
>NPM</a
>
</p>
<label for="auto-dismiss">
<input type="checkbox" id="auto-dismiss" checked /> Automatically dismiss
</label>
<label for="dismiss-button">
<input type="checkbox" id="dismiss-button" checked /> Add dismiss button
</label>
<label for="animate">
<input type="checkbox" id="animate" checked /> Animate (<code
>(prefers-reduced-motion: reduce)</code
>
will override this)
</label>
<button id="create-notification-button">Create notification</button>
<button id="dismiss-all-button">Dismiss all notifications</button>
<script type="module" src="/src/main.ts"></script>
</body>
</html>