Skip to main content

Type Alias: ExitAddMode

ExitAddMode = () => Promise<void>

Function

Leaves snap-first add mode and returns to normal selection.

This clears the add action, the selected target snap, and any chosen add product, and hides snap markers. It turns off the snap-first session and clears any suspended add snapshot used when a toolbar action temporarily paused add mode.

Dispatches mimeeq-modular-exit-add-mode then cancels the active modular action.

Returns​

Promise<void>

Example​

await window.mimeeqApp.actions.exitAddMode();