I posted this question over
at StackOverflow if you want some more context, but I think I can post an abridged version here.
I am creating custom events which are very similar in nature to mouseenter and mouseleave. Because of this, the elements do not bubble. Because the events don't bubble, the events don't trigger any delegated handlers.
In jQuery's source there is a
special case for mouseenter and mouseleave events to make them work with delegated handlers.
Is it possible for my custom event to also use this special case? I'm guessing no, but I'm hoping there is a way. If not, I believe there should be a way.