Skip to content

Commit

Permalink
Adds hooks for Bootstrap's modal events
Browse files Browse the repository at this point in the history
- Adds hooks for `show.bs.modal`, `shown.bs.modal`, `hide.bs.modal`, and `hidden.bs.modal` events
- Some formatting updates, for consistency
- Updates package dependencies to latest (when possible)
- Bump version number
  • Loading branch information
tiesont committed Dec 7, 2019
1 parent d5105fb commit e874c9e
Show file tree
Hide file tree
Showing 14 changed files with 4,519 additions and 566 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
## 5.3.4 (Latest Release)
## 5.4.0 (Latest Release)

- Adds function hooks for `onShow`, `onShown`, `onHide`, and `onHidden` events, which map to their Bootstrap modal equivalents.

### 5.3.4

- Removes `':first'` selector from default button binding

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ Bootbox **3.3.0** is the *last* release to support Bootstrap 2.2.x.

Much more dependency information can be found [on the Bootbox website](http://bootboxjs.com/getting-started.html#bootbox-dependencies).

## 5.3.4 (Latest Release)
## 5.4.0 (Latest Release)

- Removes `':first'` selector from default button binding
- Adds function hooks for `onShow`, `onShown`, `onHide`, and `onHidden` events, which map to their Bootstrap modal equivalents.

For a full list of releases and changes please see [the changelog](https://github.com/makeusabrew/bootbox/blob/master/CHANGELOG.md).

Expand Down
Loading

0 comments on commit e874c9e

Please sign in to comment.