Skip to main content

Type Alias: GetLastSavedDesign

GetLastSavedDesign = () => Promise<LastSavedDesign | null>

Reads the current modular product’s last local autosave. Returns null if there is no usable design, the product is standard, or the browser cannot read storage.

Returns​

Promise<LastSavedDesign | null>

Example​

const { actions } = window.mimeeqApp;
const saved = await actions.getLastSavedDesign();
if (saved) await actions.loadModularScene(null, true, false, false, saved.config);