Skip to content

Commit

Permalink
Updated documentation & min js
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-tim committed Feb 22, 2019
1 parent 3770312 commit 89528ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,13 +210,13 @@ $.modal.CLOSE = 'modal:close'; // Fires when the modal begins c
$.modal.AFTER_CLOSE = 'modal:after-close'; // Fires after the modal has fully closed (including animations).
```

The first and only argument passed to these event handlers is the `modal` object, which has three properties:
The first and only argument passed to these event handlers is the `modal` object, which has four properties:

```js
modal.$elm; // Original jQuery object upon which modal() was invoked.
modal.options; // Options passed to the modal.
modal.$blocker; // The overlay element.
modal.$anchor; // The anchor originating the event.
modal.$anchor; // Anchor element originating the event.
```

So, you could do something like this:
Expand Down
2 changes: 1 addition & 1 deletion jquery.modal.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 89528ab

Please sign in to comment.