From baa57ebf7f927d3d97eb4f538ed185d5d91fb731 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Mon, 15 Jun 2020 19:27:19 +0200 Subject: add toaster --- bootstrap-v5-toaster/README.md | 44 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 bootstrap-v5-toaster/README.md (limited to 'bootstrap-v5-toaster/README.md') diff --git a/bootstrap-v5-toaster/README.md b/bootstrap-v5-toaster/README.md new file mode 100644 index 0000000..c0a49b0 --- /dev/null +++ b/bootstrap-v5-toaster/README.md @@ -0,0 +1,44 @@ +# Bootstrap v5 Toaster + +Create Bootstrap 5 toasts programatically + +![alt text](https://github.com/ivarlovlie/bootstrap-v5-toaster/raw/master/toasts.png "How the toasts look") + +## 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