From 906020f281e8476c41321340b0b45e1ff1dac7cb Mon Sep 17 00:00:00 2001 From: Mathieu Tanguay Date: Thu, 19 Oct 2017 01:43:30 -0400 Subject: [PATCH] Updated Timeouts details Added default values and time unit --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 66223edb..af10b002 100644 --- a/README.md +++ b/README.md @@ -183,10 +183,10 @@ toastr.options.preventDuplicates = true; ``` ### Timeouts -Control how toastr interacts with users by setting timeouts appropriately. Timeouts can be disabled by setting them to 0. +Control how toastr interacts with users by setting timeouts appropriately in milliseconds. Timeouts can be disabled by setting them to 0. ```js -toastr.options.timeOut = 30; // How long the toast will display without user interaction -toastr.options.extendedTimeOut = 60; // How long the toast will display after a user hovers over it +toastr.options.timeOut = 30; // How long the toast will display without user interaction. Defaults to 5000 ms +toastr.options.extendedTimeOut = 60; // How long the toast will display after a user hovers over it. Defaults to 1000 ms ```