Type Alias: HistoryReset()
HistoryReset = () =>
Promise
<void
>
Function
Resets the product configuration to its initial state.
This method clears all selected options and returns the product to its default configuration. It's useful for providing a "start over" functionality or for resetting the configurator between different user sessions.
Returns
Promise
<void
>
Example
// Add a reset button to your UI
document.getElementById('reset-button').addEventListener('click', () => {
window.mimeeqApp.actions.reset();
});
Emits
mimeeq-app-url-change When the configuration URL needs updating to initial state
Emits
mmq-app-url-change-sandbox For sandbox environment URL changes
Emits
mimeeq-history-reset When the configuration is completely reset