Callback
Callback = (statusCode: number, data: any, request: Request) => void;
An optional function to be called when the Z.ajax(...) request finishes.
Parameters
Parameter | Type | Description |
---|---|---|
statusCode | number | The returned HTTP request status code. |
data | any | The data returned from the request. |
request | Request | The Ajax request. |