• posted 2½ years ago

Mootools caveat: event.target is not extended by $

mootools_logoThis took me way too long to discover:
When using event.target via mootools event handlers, I figured out, after way too much testing, that event.target is NOT extended via $, and therefore doesn't have accessors like .get('tag') and default's for the $ (dollar sign extension).

I wasn't sure if this was note worthy of a post, but I reckon I'll fill this up with enough keywords that it'll hopefully show up in the SERP's for mootools event trigger target source, etc.

We shall see.

Comments (add comment)

 
  • lonely post

    lonely post 5 seconds from now

    I bet at first you thought, and maybe are still thinking, that this is a comment someone left for this post. It's not, but it could be yours. Please add a comment to this post? Please?