Skip to main content

Type Alias: FlipProduct()

FlipProduct = () => void

Function

Flips or rotates the currently selected product to change its orientation.

This function changes the orientation of the currently selected product, essentially flipping it to use a different connection point. Not all products support flipping, as this capability depends on product-specific settings and design.

Flipping is useful for creating mirrored configurations or changing the orientation of products to fit specific layout requirements.

Returns

void

Example

// Flip the selected product when the flip button is clicked
document.getElementById('flip-btn').addEventListener('click', () => {
window.mimeeqApp.actions.flipProduct();
});

Emits

mimeeq-modular-flip-product This event is fired when Flip button was clicked

Emits

mimeeq-internal-flip-product Internal event triggered when a product is flipped