I think I like disconnectAll(elem) and disconnectAll(elem,  
['onmousedown', 'customSignal']) best. Other thoughts?

On 27-Mar-06, at 5:03 PM, troels knak-nielsen wrote:

> Very good idea - I remember looking for exactly that the other
> day.Useful for putting in the destructor/teardown of a
> controller-object (widget).
> For the sake of interoperability, I think it's better with a separate
> method, rather than extending the signature of disconnect. Better to
> stay close to the standard removeEventListener.
> disconnectAll(elem); or disconnectAll(elem, "onmousedown");
> perhaps even disconnectAll(elem, "onmousedown", "onmouseup"); or
> disconnectAll(elem, ["onmousedown", "onmouseup"]);


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to