How can I know in my triggering code that preventDefault has been called?
preventDefault
$(document).trigger(\'customEvent\', params); if (/* ??? */) doDefault
Custom events do not have some default actions that happens .. (they are custom).
On the other hand, if you want to stop the bubbling effect of this event to others then have a look at triggerHandler which does not bubbles up to the hierarchy ..