A function that runs when a user closes a design.
Usage
api.createDesign({design: {type: "Poster",},onDesignClose: () => {// code goes here},});
JAVASCRIPT
You can pass the onDesignClose
function into the createDesign
and editDesign
functions.
Parameters
This function doesn't receive any parameters.
Returns
void