A function that runs when a user opens a design. This includes when a user creates a new design or edits an existing design.
Usage
api.createDesign({design: {type: "Poster",},onDesignOpen: (opts) => {console.log(opts);},});
javascript
Parameters
Returns
void