sends an AJAX request to the server
save?: (data: object, mode: string) => Promise<any>;
Parameters:data: object
- mandatory, data to be sent to the servermode: string
- mandatory, a mode of the request ("delete", "update", "insert")A promise of the data object
Example
proxy.save({ a: "bad" }, "delete").then(function() {
console.log("'Bad' is deleted!");
});
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4