diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c925c21 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/dist +/node_modules diff --git a/bs4-test.html b/bs4-test.html index 9f60e80..63a8816 100644 --- a/bs4-test.html +++ b/bs4-test.html @@ -7,29 +7,163 @@ - + - -
Example. Simple New Toast
+Launch a simple toast with a text body.
+ + + + + ++BSToast4.Create({ + Title: 'Hello', + Time: 'Now', + Message: '<div>Hello momo</div>' +}); ++
Example. Append Toast
+Launch a simple toast or append to the last exist toast.
+ + + + + ++BSToast4.Push({ + Title: 'Hello (2)', + Time: 'Now', + Message: '<div>Hello, again</div>' +}); ++
Example. Full Toast
+Launch a toast with all options.
+ + + + + ++BSToast4.Create({ + Icon: "", + Title: "Greetings", + Time: "Now", + Message: "Toast Body", + Footer: "Toast Footer", + Animation: true, + AutoHide: true, + Delay: 6000, + Position: "position:fixed; top:0; right:80px; margin:20px;", + MinWidth: 320, + MinHeight: 200, + HeaderClass: "bg-light", + FooterClass: "bg-light text-center" +}); ++