Welcome to MooTools More,
the official plugin repository for the MooTools JavaScript Framework.
More includes extra features to Core classes and UI.
MooTools More makes MooTools even More awesome.
Creates a JSON request using script tag injection and handles the callbacks.
var myJSONP = new Request.JSONP({
url: 'http://goo.gl/cCLshl?format=json',
callbackKey: 'jsoncallback',
data: {
viewType: 'json',
},
onRequest: function (url) {
// a script tag is created with a
// src attribute equal to url
},
onComplete: function (data) {
// the request was completed
// and data received the server answer.
console.log(data); // answer object with data
}
}).send();
Builds table elements with methods to add rows quickly.
var myTable = new HtmlTable({
properties: {
border: 5,
cellpadding: 5
},
headers: ['fruits', 'colors'],
rows: [
['apple', 'red'],
['lemon', 'yellow']
]
});
myTable.inject($(document.body));
// and to push more data into it:
myTable.push(['lime', 'green']);
Check out the complete documentation and start using More today.
Documentation
Report bugs issues or help us to extend our documentation.
GitHub Repository