There isn't a documented event, but you can use the .open
class of the .dropdown
and the jQuery click()
event:
$('#the-dropdown').click(function () {
if($(this).hasClass('open')) {
alert('it works');
}
});
For toggling, use just the click()
event.
Here is the jsfiddle.