I think I get it:

   $('el').addEvent('click', fn.bind( $('el')) );

This would pass the event to the handler, and I am all set.

That is the mootools version of:
   el.addEventListener('click',onClick,false);


I hope to post a cool example soon.

Vic

On Aug 31, 11:29 am, Sanford Whiteman <[email protected]>
wrote:
> > That's what I want to do but I don't know how.
>
> Variable `e` is the MooTools event inhttp://jsfiddle.net/nU5Ex/7/.
>
> Property  e.event  is the DOM event object with member properties like
> offsetX, etc.
>
> -- S.

Reply via email to