FinelySliced/leanModal.js — Issue #6: Event Triggering
Author: edcory
Created: 2011-10-10 15:31:51+00:00
State: open

I'll put this in as a request, but I've added event triggering on my local copy. I wanted to execute some AJAX based upon the overlay being opened or closed.

After: e.preventDefault();
$(_4).trigger('modal', ["open"]);

After: $("#lean_overlay").fadeOut(200);
$(_8).trigger('modal', ["close"]);