aboutsummaryrefslogtreecommitdiff
path: root/example/example.html
diff options
context:
space:
mode:
Diffstat (limited to 'example/example.html')
-rw-r--r--example/example.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/example/example.html b/example/example.html
new file mode 100644
index 0000000..889c1c8
--- /dev/null
+++ b/example/example.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
+ <title>Vanilla Yo Notification</title>
+</head>
+<body>
+ <button onclick="showNotificationSuccess()">Show Success Notification</button>
+ <button onclick="showNotificationWarning()">Show Warning Notification</button>
+ <button onclick="showNotificationError()">Show Error Notification</button>
+
+ <script src="../dist/vanilla-yo-notification.js"></script>
+ <script src="./example.js"></script>
+</body>
+</html> \ No newline at end of file