From twitter bootstrap official page:
$('#myDropdown').on('hide.bs.dropdown', function () {
// do something…
});
hide.bs.dropdown
is one of 4 events described here.
Update (13-Apr-16)
These events also work same in Bootstrap 4
. Bootstrap v4 Documentation.