-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdemo.html
More file actions
20 lines (19 loc) · 802 Bytes
/
demo.html
File metadata and controls
20 lines (19 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=8;FF=3;OtherUA=4" />
<link rel="stylesheet" href="../dist/toaster.css"/>
<link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet"/>
</head>
<body>
<script src="../dist/Toaster.js"></script>
<script>
var toaster = new Toaster();
toaster.notify(ToasterNotificationType.ERROR,"UH OH","Made a baddie.");
toaster.notify(ToasterNotificationType.INFO,"UH OH","Made a baddie.");
toaster.notify(ToasterNotificationType.SUCCESS,"UH OH","Made a baddie.");
toaster.notify(ToasterNotificationType.WARNING,"UH OH","Made a baddie.");
</script>
</body>
</html>