Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
add example of optional parameters for disable function
  • Loading branch information
mcg88 committed Apr 29, 2014
1 parent b10200d commit 5e48cf9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ _Example:_
var modal = ouiBounce(document.getElementById('ouibounce-modal'));
modal.fire(); // fires the ouibounce event
modal.disable() // disable ouibounce, it will not fire on page exit
modal.disable({ cookieExpire: 50, sitewide: true }) // disable ouibounce sitewide for 50 days.
```

### Miscellaneous
Expand Down

0 comments on commit 5e48cf9

Please sign in to comment.