aboutsummaryrefslogtreecommitdiff
path: root/docs/example/example.html
diff options
context:
space:
mode:
authorIndrajith K L2017-12-19 19:10:01 +0530
committerIndrajith K L2017-12-19 19:10:01 +0530
commit9b608b89b16953c8d717ed8fde02ae396eea6094 (patch)
treea914badf600f8f95c4d25e8d8f4138290162bd8b /docs/example/example.html
parent90d191ce4b23106657712efe3e8830410b89225e (diff)
downloadvanilla-yo-notification-9b608b89b16953c8d717ed8fde02ae396eea6094.tar.gz
vanilla-yo-notification-9b608b89b16953c8d717ed8fde02ae396eea6094.tar.bz2
vanilla-yo-notification-9b608b89b16953c8d717ed8fde02ae396eea6094.zip
* Webpack config changes
* Updated documentation with example * removed unwanted dependencies from starter pack
Diffstat (limited to 'docs/example/example.html')
-rw-r--r--docs/example/example.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/docs/example/example.html b/docs/example/example.html
new file mode 100644
index 0000000..4335544
--- /dev/null
+++ b/docs/example/example.html
@@ -0,0 +1,23 @@
+<!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>
+ <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic">
+ <link rel="stylesheet" href="//cdn.rawgit.com/necolas/normalize.css/master/normalize.css">
+ <link rel="stylesheet" href="//cdn.rawgit.com/milligram/milligram/master/dist/milligram.min.css">
+</head>
+
+<body>
+ <button class="button" onclick="showNotificationSuccess()">Show Success Notification</button>
+ <button class="button" onclick="showNotificationWarning()">Show Warning Notification</button>
+ <button class="button" onclick="showNotificationError()">Show Error Notification</button>
+
+ <script src="./vanilla-yo-notification.js"></script>
+ <script src="./example.js"></script>
+</body>
+
+</html> \ No newline at end of file