Skip to content

Callback

Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.

Callback = (statusCode: number, data: any, request: Request) => void;

An optional function to be called when the Z.ajax(…) request finishes.

ParameterTypeDescription
statusCodenumberThe returned HTTP request status code.
dataanyThe data returned from the request.
requestRequestThe Ajax request.