Skip to main content

Type Alias: HistoryGoBack()

HistoryGoBack = () => Promise<void>

Function

Reverts the most recent change in the configuration.

This method moves backward in the history stack, undoing the most recent configuration change. This is equivalent to the "Undo" function in most applications.

Dispatches mimeeq-history-go-back

Returns

Promise<void>

Example

// Add an undo button to your UI
document.getElementById('undo-button').addEventListener('click', () => {
window.mimeeqApp.actions.goBack();
});