diff --git a/bs4-test.html b/bs4-test.html index 0b6bf85..5f1e02e 100644 --- a/bs4-test.html +++ b/bs4-test.html @@ -16,89 +16,231 @@
Example One
-Launch an empty modal
-Example. Simple Text Modal
+Launch an empty modal
+
+BSDialog.Show({
+  ID: "modalL1",
+  Title: "Modal Title",
+  Message: "Hello Momo!",
+  URL: null,
+  Size: "md",
+  Colour: "secondary"
+});
+            
+          Example Four
-Launch a multiple modals
-Example. Multiple Modals
+Launch multiple modals
+
+BSDialog.Show({
+  ID: "modalL3a",
+  Title: "Modal A Title",
+  Message: "First!",
+  URL: null,
+  Size: "md",
+  Colour: "secondary"
+});
+
+BSDialog.Show({
+  ID: "modalL3b",
+  Title: "Modal B Title",
+  Message: "Second!",
+  URL: null,
+  Size: "md",
+  Colour: "secondary"
+});
+            
+          Example. Simple Text Modal Deprecated
+Launch an empty modal
+
+BSDialog.Create('abc123', 'My Modal Box 123', 'Hello momo!', 'xl');
+            
+          Example. Empty Modal and Updates. Deprecated
+Launch an empty modal then update its title, body, footer and size.
+
+BSDialog.Create('abc123', 'My Modal Box 123', null, 'sm');
+BSDialog.UpdateTitle('abc123', 'My Modal Box 567');
+BSDialog.UpdateBody('abc123', 'Help, I\'m toast!');
+BSDialog.UpdateFooter('abc123', '');
+BSDialog.UpdateSize('abc123', 'lg');
+            
+          Example. Toast Modal. Deprecated
+Show a toast-style modal
+
+BSDialog.ShowToast('abc123', 'My Modal Box 123', 'Help! I\'m toast.', 'sm');
+            
+