diff --git a/README.md b/README.md index 9407986..9f54858 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ OuiBounce offers a few options, such as: - Sensitivity - Aggressive mode +- Timer __Configuring sensitivity:__ Use it to define how far your mouse has to be from the window breakpoint. The higher value the more sensitive. _Defaults to 20._ @@ -51,6 +52,11 @@ Here's how to enable aggressive mode: $('#ouibounce-modal').ouibounce({aggressive: true}); ``` +__Set a min time before OuiBounce fires:__ By default, OuiBounce won't fire in the first second. You can pass a timer option like so: +```js +$('#ouibounce-modal').ouibounce({timer: 0}); +``` + __To remove ouibounce:__ Call ```js $('html').off('mouseout.ouibounce');