What is Mootools?
MooTools (My Object-Oriented Tools) is a lightweight, object-oriented JavaScript framework. It is released under the free, open-source MIT License. It is used on more than 4% of all websites, and is one of the most popular JavaScript libraries.
Example Code for Mootools (DOM Selectors)
// get elements by class
$$('.foo'); // or even: document.getElements('.foo');
// selector with different elements
$$('div.foo, div.bar, div.bar a');
// get a single element
document.getElement('div.foo');
MooTools includes a number of components
- Core
- More
- Class
- Natives
- Element
- Fx
- Request
- Window
MooTools code is extensively documented and easy to read, enabling you to extend the functionality to match your requirements.
Video for Mootools