diff --git a/bs4-test.html b/bs4-test.html index 0b6bf85..e12af9e 100644 --- a/bs4-test.html +++ b/bs4-test.html @@ -20,6 +20,7 @@
+
@@ -69,6 +70,30 @@
+
+
+ +

Example Five

+

Launch a prompt modal

+
+ let result = await BSDialog.ShowPrompt({
+     Title: "Prompt",
+     Message: "This is a prompt",
+     Size: "md",
+     Buttons: [
+         { Label: "Yes", Value: "Yes", Colour: "primary" },
+         { Label: "No", Value: "No", Colour: "secondary" },
+         { Label: "Cancel", Value: "Cancel", Colour: "secondary" }
+     ]
+ });
+
+ alert(result);
+
+

+ +
+
+