Does anyone know what the trigger function's "fn" parameter is for and
where it is used?

The API/1.2/Events documentation shows only two parameters for the
trigger function (type, data) yet the 1.2.2 source has three (type,
data, fn) and refers to this third parameter as the "extra function."
I can't find anywhere that this is actually used within the source so
I would assume it is an undocumented feature..

The reason I'm interested in this is that I've extended the trigger
function to allow for adding event properties and would like to push
this as a necessary feature but this undocumented "fn" parameter would
still have to be passed..  For example the "null" param in:
$(#elementID).trigger("mousedown",[],null,{pageX:100,pageY:100});

If "fn" is used nowhere (in core or plugins) I'd push for this to come
after the event stub..

My original justification for this feature is here:
http://groups.google.com/group/jquery-en/browse_thread/thread/16f919bfcac235d2/87f0e55cf906208b?lnk=st&q=#87f0e55cf906208b
and here: 
http://groups.google.com/group/jquery-ui/browse_thread/thread/3bb15b95af851b05/d61e21e14f5867e8?lnk=st&q=#d61e21e14f5867e8

Thanks,
Ed

Reply via email to