jQuery Special Events: Firing event the instant it has been setup... do we need another hook?

jQuery Special Events: Firing event the instant it has been setup... do we need another hook?


I've been playing around with special events lately. I love 'em.
But...
Say you want to trigger an event the instant that it has been setup,
from inside the special event code, how would you go about that?
Considering the code below, I can't see how it is possible:
jQuery.event.special.eventName = {
setup: function( ) {
// Do some funky stuff, then...
jQuery.event.special.frame.handler.call( this,
eventObject ); // No, because not setup yet
//return false;
},
add: function( ) {
jQuery.event.special.frame.handler.call( this,
eventObject ); // Nope, because add happens before setup
//return false;
},
handler: function(event){
// let jQuery handle the calling of event handlers
jQuery.event.handle.apply(this, arguments);
}
};
If this isn't possible, I think another hook would be useful,
something like 'post', that would allow us to fire events the instant
they've been registered.
Cheers!
Stephen.