Events with MooTools - Element, Class, Delegation and Pseudos

Written by Arian Stolwijk on 28 March 2011 – Posted under all, tipsComments

One of the most useful and common part of MooTools is its Events Type. There are two Event usages: Element and Class. Element.Events is probably the most known because that's probably one of the first things you've used when you started using MooTools. Furthermore, MooTools More 1.3 Events.Pseudos has been introduced to give even more power and control over Events and with Event Delegation can give your page a massive performance boost. This blog post will give you a deeper insight into all components.


MooTools Core & More 1.3.1

Written by Christoph Pojer on 25 February 2011 – Posted under all, releasesComments

The MooTools team is very happy to announce a simultaneous update of both Core and More repositories. The past year was amazing for us. We had a great hackathon in London, we gave you MooTools 1.3, added a lot of new people to our team and improved everything around the code. The results of the MooTools survey clearly showed that we are doing the right things and we intend to make MooTools even better in 2011. We spent the past weeks fixing bugs and adding new features on both projects. This is what's new:

Changes

  • Lots (and by that I mean LOTS) of documentation improvements, clarifications and cleanups
  • Updated Slick to 1.1.5 and improved the speed of our Slick selector engine
  • Added delegation support for submit, focus, blur, reset, change and select events in MooTools More
  • If available the native JSON methods are now used in JSON.decode and JSON.encode
  • Multiple Pseudos click:relay(a):once (demo)
  • Two new pseudo events: :throttle and :pause
  • Added String.truncate to String.Extras in More
  • More than two hundred changes to increase the stability of both Core & More

I am also pleased to announce our newest addition to the MooTools More team, Jacob Thornton, who is a great developer, currently working for Twitter. He has put a substantial amount of work into making MooTools More even better.

Be sure to check out the updated demos in our new demos section.

Get it!