Skip to content

Commit

Permalink
Merge pull request #45 from ChristianGabs/master
Browse files Browse the repository at this point in the history
Auto Close after a period of time
  • Loading branch information
Shane Stebner authored Aug 9, 2018
2 parents d1d14f3 + 3aac94f commit c5129f3
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 2 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,17 @@ $(function(){
});
```

### Auto Close after period of time
```javascript
$.jAlert({ //this is the normal usage
'title': 'Test',
'content': 'Howdy',
'theme': 'green',
'size': 'xsm',
'autoClose' : 3000
});
```

### Quick Use (requires jAlert-functions.js!!!)
```javascript
alert('hi'); //override is enabled by default
Expand Down
Loading

0 comments on commit c5129f3

Please sign in to comment.