From 0fda2a77ed30a291f5abfbf10f5cd550c55d0e67 Mon Sep 17 00:00:00 2001 From: oliveira131 <47257731+oliveira131@users.noreply.github.com> Date: Mon, 22 Jul 2019 03:12:00 -0300 Subject: [PATCH] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5c148ce..71fce09 100644 --- a/README.md +++ b/README.md @@ -20,11 +20,13 @@ You can pass to the `$.toast` function an object with the settings for your toas | title | Shows in the top left corner of the toast header | 'Notice!'| | | subtitle | Shows in the top right corner of the toast header | N/A | | | content | Shows in the toast body | N/A | | -| type | Determines the style of the toast based on Bootstrap styles | 'info' | 'info', 'success', 'warning', 'error' | +| type | Determines the style of the toast based on Bootstrap styles | 'info' | 'info', 'success', 'warning', 'error', 'dark', 'white', 'transparent', 'light', 'primary', 'secondary' | | delay | Determines how long the Toast shoud be shown for. The default, -1, will show the toast until the user clicks close. | -1 | omit or set to -1 to disable auto close, or timeout value in milliseconds | img | Shows an image before the title | N/A | { src: '', class: '', title: '', alt: '' } | pause_on_hover| true/false respectively to pause on hover | false | true/false | | container | Set the container inside which the toasts will be displayed | $("body") | A JQuery selector | +| ico | Shows a icon before title | N/A | Put the icon tag, like this sample for Font Awesome: `` | +| prepend | If true, insert the new toasts before the exitents toasts. | false | true/false | **Note:** If content is omitted, the toast will not have a `.toast-body` and can be used as a small snack which will be shown below in the examples. By default toasts will be positioned in the top right corner and will in the future (hopefully) have other position options.