Type Alias: ToggleGrid()
ToggleGrid = () =>
Promise<void>
Function
Toggles the visibility of the measurement grid on the scene floor.
This function shows or hides the measurement grid on the floor of the modular scene. The grid provides visual references for scale and position, helping users accurately place and align products in the scene. It's particularly useful when precise spacing between products is important.
Dispatches mimeeq-modular-show-grid
-
- depending on the new state.
Returns
Promise<void>
Example
// Toggle the grid when the grid button is clicked
document.getElementById('toggle-grid-btn').addEventListener('click', () => {
window.mimeeqApp.actions.toggleGrid();
});