diff --git a/example/index.html b/example/index.html
index 8dd891f..4028cb6 100644
--- a/example/index.html
+++ b/example/index.html
@@ -1,117 +1,165 @@
-
-
-
-
+
+
+
+
-
-
+
+
+
- Toast
+ Toast
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ function show_random_snack() {
+ let type = TYPES[Math.floor(Math.random() * TYPES.length)],
+ content = CONTENT[type].replace('toast', 'snack');
+
+ $.toast({
+ title: content,
+ type: type,
+ delay: 5000
+ });
+ }
+
+ function show_toast_in_container() {
+ let type = TYPES[Math.floor(Math.random() * TYPES.length)],
+ title = TITLES[type],
+ content = CONTENT[type];
+
+ $.toast({
+ title: title,
+ subtitle: '11 mins ago',
+ content: content,
+ type: type,
+ delay: 5000,
+ container: $("#my_container")
+ });
+ }
+