Usage
Typescript Import Format
//To import this class, use the format below.
import {ajax} from "ojs/ojmodel";
For additional information visit:
Constructor
new ajax(settings) : {Object}
Master Ajax entry point for all Model and Collection server interactions, when they are using the
default sync implementations. oj.ajax passes through to jQuery ajax by default.
See http://api.jquery.com/jquery.ajax/ for expected parameters and return value.
Parameters:
Name | Type | Argument | Description |
---|---|---|---|
settings |
Object |
<optional> |
optional ajax settings |
Returns:
xhr object
- Type
- Object