Now supports

* type arguments,
* positional parameters and
* html as content
* Documentation updates
This commit is contained in:
Indrajith K L
2017-12-19 14:21:29 +05:30
parent ab0d224a29
commit c0eb82f55a
36 changed files with 1192 additions and 60 deletions

17
example/example.html Normal file
View File

@@ -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>