Ajax operations (data loading, server side events).
webix.ajax("data.php");
//or
webix.ajax.post("data.php", {
someParameter:"someValue"
});
The lib can execute get and post requests in sync and async mode. For more details check Ajax operations article.
bind | binds a callback function to an object |
del | sends a DELETE AJAX request to the server |
get | sends a GET AJAX request to the server |
getXHR | creates an xmlHttpRequest-object |
headers | sets the HTTP request header(s) |
patch | sends a PATCH AJAX request to the server |
post | sends a POST AJAX request to the server |
put | sends a PUT AJAX request to the server |
response | sets the response type of the request |
stringify | converts a data object into a string before sending it to server |
sync | forces an AJAX request to run in a synchronous mode |
timeout | max time for ajax request in milliseconds |
master | returns a master component for the AJAX request |