Skip to content

Commit

Permalink
Merge pull request CodeSeven#286 from CodeSeven/develop
Browse files Browse the repository at this point in the history
Updating readme to show how global overrides work
  • Loading branch information
TimFerrell committed May 23, 2015
2 parents 945e3b8 + ee045ab commit 255c070
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ For other API calls, see the [demo](http://codeseven.github.io/toastr/demo.html)
// Clears the current list of toasts
toastr.clear()

// Override global options
toastr.success('We do have the Kapua suite available.', 'Turtle Bay Resort', {timeOut: 5000})

### Close Button
Optionally enable a close button

Expand Down

0 comments on commit 255c070

Please sign in to comment.