* Webpack config changes
* Updated documentation with example * removed unwanted dependencies from starter pack
This commit is contained in:
23
docs/example/example.html
Normal file
23
docs/example/example.html
Normal file
@@ -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>
|
||||
Reference in New Issue
Block a user