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.
Dispatches mimeeq-history-reset and
-
mimeeq-app-url-changeto reset the URL
-
- to the initial product state.
Returns
Promise<void>
Example
// Add a reset button to your UI
document.getElementById('reset-button').addEventListener('click', () => {
window.mimeeqApp.actions.reset();
});