ajax

webix.ajax(url, params, call)

webix.ajax helper.

Please look into the linked official documentation.

External references

Official documentation page.

Code

1
2
3
4
5
6
7
8
9
webix.ajax = function(url,params,call){
    //if parameters was provided - made fast call
    if (arguments.length!==0)
        return (new webix.ajax()).get(url,params,call);

    if (!this.getXHR) return new webix.ajax(); //allow to create new instance without direct new declaration

    return this;
};