Skip to main content

Type Alias: ClearScene()

ClearScene: () => Promise<void>

Remove all resources from scene and start from the scratch. Dispatches RESET_MODULAR, CLEAR_MODULAR_PRICES, CLEAR_PRODUCTS, SET_LOADED_SHORTCODE (with null argument), CLEAR_MODULAR_HISTORY (with undefined argument) Redux actions. If there were settings for modular, dispatches mimeeq-internal-clear-scene event product starter config (first time). Otherwise dispatches CLEAR_SCENE Redux action.

Returns

Promise<void>

Fires

@mimeeq#mimeeq-modular-clear-scene