Skip to content

Commit

Permalink
Add disable options explanation in README
Browse files Browse the repository at this point in the history
  • Loading branch information
carlsednaoui committed May 14, 2014
1 parent af49387 commit 07513dd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,12 @@ modal.disable() // disable ouibounce, it will not fire on page exit
modal.disable({ cookieExpire: 50, sitewide: true }) // disable ouibounce sitewide for 50 days.
```

##### Disable options
The `disable` function accepts a few options:
- [Cookie expiration](#cookie-expiration)
- [Cookie domain](#cookie-domain)
- [Sitewide cookie](#sitewide-cookie)

### Using Ouibounce with other libraries
If you want to use this library with other plugins — such as [Vex](http://github.hubspot.com/vex/docs/welcome/) — you can call ouibounce with `false`. See [#30](https://github.com/carlsednaoui/ouibounce/issues/30) for discussion.

Expand Down

0 comments on commit 07513dd

Please sign in to comment.