detect an unbound custom event
Hi,
I wonder if there is a way to detect a triggered custom event was not handled ?
For example, 'myEvent' is triggered by #myDiv: $('#myDiv').trigger('myEvent');
How to execute some default behavior if myEvent is not handled "somewhere in the DOM hierarchy" ?
Maybe by binding to myEvent on document or body, and check some event properties (ex: event.result) ?
Thanks,
Thomas