Now supports
* type arguments, * positional parameters and * html as content * Documentation updates
This commit is contained in:
17
example/example.html
Normal file
17
example/example.html
Normal 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>
|
||||
Reference in New Issue
Block a user