From 470c3c3dfc5394f12c9f4a351da900f1efe0c77f Mon Sep 17 00:00:00 2001 From: Script47 Date: Mon, 6 May 2019 19:05:03 +0100 Subject: [PATCH] pause_on_hover - #6 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index d280097..7515873 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ You can pass to the `$.toast` function an object with the settings for your toas | type | Determines the style of the toast based on Bootstrap styles | 'info' | 'info', 'success', 'warning', 'error' | 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 | **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.