From a4bf3451bbfc6292f8d33d5241d693251d5a0d01 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Sun, 15 Nov 2020 23:47:23 +0100 Subject: add wip grid component use cdn for bootstrap remove bloat from toaster --- toaster/README.md | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 toaster/README.md (limited to 'toaster/README.md') diff --git a/toaster/README.md b/toaster/README.md new file mode 100644 index 0000000..1cd35b8 --- /dev/null +++ b/toaster/README.md @@ -0,0 +1,42 @@ +# Bootstrap v5 Toaster + +Create Bootstrap 5 toasts programatically + +## Example: + +```html + + + + + + + Bootstrap 5 Toaster + + + + + + + + +``` + +`toasterOptions` is optional and the values in the example are the default values. \ +`position` can be one of the following: "top-right top-left bottom-right bottom-left". + +All display functions have the following parameters and options: \ +| Parameter | Value | Default | +| ------------- |:-------------:| -----:| +| `title` | required string | undefined | +| `message` | optional string | "" | +| `autohide` | boolean or an int specifying `hideAfter` | true | -- cgit v1.3