Skip to main content

Type Alias: CloseConfigurator()

CloseConfigurator = () => void

Closes and unmounts the active configurator from the DOM.

This method removes a currently visible configurator from the page and cleans up its resources. It works for both standard and modular configurators and is useful for single-page applications or dynamic UI changes.

Returns

void

Example

// Close the configurator when a close button is clicked
document.getElementById('close-config-btn').addEventListener('click', () => {
window.mimeeqApp.utils.closeConfigurator();
});

Deprecated

Method works only for legacy embed version. If you are using web component please use its hide() method instead

Fires

@mimeeq#mimeeq-unmount