bind

binds a callback function to an object

ajax bind(object master);
masterobjectdesired content of "this" in the callback
ajaxthe ajax object

Example

webix.ajax().bind(myobj).get("some.php", function(){
    //this == myobj
});

Back to top