-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathindex.htm
More file actions
25 lines (24 loc) · 855 Bytes
/
index.htm
File metadata and controls
25 lines (24 loc) · 855 Bytes
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
<html>
<head>
<title>Vanilla Notify Test Page</title>
<link rel="stylesheet" href="dist/vanilla-notify.css" />
<style>
body {
font-family: sans-serif;
}
</style>
<noscript>
</noscript>
</head>
<body>
<h1>vNotify Test Page</h1>
<script src="vanilla-notify.js"></script>
<script>
vNotify.info({text:'This is an info notification.', title:'Info Notification.'});
vNotify.success({text:'This is a success notification.', title:'Success Notification.'});
vNotify.warning({text:'This is a warning notification.', title:'Warning Notification.'});
vNotify.error({text:'This is an error notification.', title:'Error Notification.'});
vNotify.notify({text:'This is a notify notification.', title:'Notify Notification.'});
</script>
</body>
</html>