I have a special event implementation of the "hoverIntent" plugin, and
there are two options that are configurable (delay,speed). Currently,
these options are only configurable document wide as they are
attributes of the special event object. By leveraging the data
parameter into the special event setup, I can extract custom settings
within the setup function. The setup attaches mouseenter and
mouseleave handlers and already uses the data param internally to
share variables between the handlers. Personally, I don't plan on
customizing the settings of this event per call, but such a small
change would open a lot of possibilities. I understand that the data
object is shared by all of the bound events, and while that may be a
pitfall for some, I think it could also be cleverly powerful. In
reality, it will most likely not be used by many developers, because
as you said, data is undefined most of the time.