forked from apvarun/toastify-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
59 lines (53 loc) · 2.45 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!DOCTYPE html>
<html>
<head>
<meta charset='UTF-8'>
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Toastify JS - Pure JavaScript Toast Notificaton Library</title>
<meta name="description" content="Toastify is a pure JavaScript library that lets you create notifications toasts/messages.">
<meta name="keywords" content="Javascript,Library,Toastify">
<meta name="author" content="apvarun">
<link rel="stylesheet" type="text/css" href="example/script.css">
<link rel="stylesheet" type="text/css" href="src/toastify.css">
</head>
<body id="root">
<div class="container">
<div class="lead">
<h1>Toastify JS</h1>
</div>
<p>Better notification messages</p>
<div class="buttons">
<a href="#" id="new-toast" class="button">Try</a>
<a href="https://github.com/apvarun/toastify-js/blob/master/README.md" target="_blank" class="button">Docs</a>
<a href="https://twitter.com/intent/tweet?text=Pure+JavaScript+library+for+better+notification+messages&url=https://apvarun.github.io/toastify-js/&hashtags=JavaScript,toast&via=apvarun"
target="_blank" class="button">Tweet</a>
</div>
<div class="docs">
<h2>Usage</h2>
<code>
<p>Toastify({</p>
<p class="pad-left">text: "This is a toast",</p>
<p class="pad-left">duration: 3000</p>
<p>}).showToast();</p>
</code>
</div>
<div class="repo">
<iframe src="https://ghbtns.com/github-btn.html?user=apvarun&repo=toastify-js&type=star&count=true&size=large" frameborder="0"
scrolling="0" width="160px" height="30px"></iframe>
</div>
</div>
</body>
<script type="text/javascript" src="src/toastify.js"></script>
<script type="text/javascript" src="example/script.js"></script>
<script>
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date(); a = s.createElement(o),
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-105870436-1', 'auto');
ga('send', 'pageview');
</script>
</html>