jQuery.event.trigger() : Pass the "event" object as an argument to "elem[type]()" call
In function jQuery.event.trigger()
, there is the following call (l. 4357 in jquery-2.1.1.js) :
why not pass the event object as an argument ? This way :
This would provide the event object to the called function which is usually essential. In my case, this would allow to retrieve the namespace and thus adapt the action.