Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vodkabears committed Jan 22, 2015
1 parent df4afd2 commit b2dc4a4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,18 @@ $(document).on('opened', '.remodal', function () {
console.log('opened');
});

$(document).on('close', '.remodal', function () {
$(document).on('close', '.remodal', function (e) {
console.log('close');

// "confirmation", or "cancellation", or undefined
console.log(e.reason);
});

$(document).on('closed', '.remodal', function () {
$(document).on('closed', '.remodal', function (e) {
console.log('closed');

// "confirmation", or "cancellation", or undefined
console.log(e.reason);
});

$(document).on('confirm', '.remodal', function () {
Expand Down

0 comments on commit b2dc4a4

Please sign in to comment.