the compact javascript framework
in partnership with mediatemple
For Grouping Classes or Elements Events. The Event added to the Group will fire when all of the events of the items of the group are fired.
MIT-style license.
Group.js | For Grouping Classes or Elements Events. |
Group | An “Utility” Class. |
Properties | |
addEvent | adds an event to the stack of events of the Class instances. |
An “Utility” Class.
List of Class instances
xhr1 = new Ajax('data.js', {evalScript: true}); xhr2 = new Ajax('abstraction.js', {evalScript: true}); xhr3 = new Ajax('template.js', {evalScript: true}); var group = new Group(xhr1, xhr2, xhr3); group.addEvent('onComplete', function(){ alert('All Scripts loaded'); }); xhr1.request(); xhr2.request(); xhr3.request();
Properties | |
addEvent | adds an event to the stack of events of the Class instances. |
Documentation by Aaron Newton & Mootools Developers, generated by NaturalDocs and GeSHi