On Jul 18, 2006, at 11:11 PM, Chris Nokleberg wrote: > I have some mousedown events that are mostly "handled" by a floating > component but for reasons specific to my UI the parents still need to > see the event--that is, I cannot use stopPropagation. However, the > parent needs to know that some action has already been taken. I tried > setting a JS property on the event but that didn't work--apparently > the > Signal module creates a new wrapper for each listener. My workaround > was to get the native event and set a property on it instead. > > Perhaps this isn't a MochiKit question per se but the docs do say that > the native event should never be needed so I thought I'd ask if there > is a better way.
Why not have the parents connected to an 'afterMouseDownEventHandled' event that the floating component signals after dealing with it? Zac --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MochiKit" group. To post to this group, send email to mochikit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit -~----------~----~----~----~------~----~------~--~---