Wednesday, January 31st, 2007
- All the MooTools Classes use now Events. No, not element events. Class Events. Right, you can add as many onCompletes as you want, onChange(s), onStart(s).. Well, you get the idea. Options starting with â€œonâ€ become events, so need to change your code on this one.
- All the code, plugins, everything now uses element events. With a completely rewritten event system, its now less memory hungry and a whole lot easier to add events to your elements. You wont find another .onclick in MooTools. Weâ€™ve also added the ability to fire an event by hand, or remove all of the events from an element, or all of the events of a certain type (ex. click).
- Effects are now more powerful than ever, Fx.Style/Styles/Elements now can include colors and shorthand properties. They also support one value start (the starting value will be computed in real time). You have a div with height = 100 and want to go to 200? as easy as start(200). Fx will read your current style.
Any Mootools users out there? (I know there are). What do you like about it? What made you choose it as your library of choice?
Posted by Dion Almaer at 12:30 am