Skip to main content

Type Alias: EnableClone()

EnableClone: () => Promise<void>

Enable clone of currently selected model. Only one product can have active clone at once so activating it for new model will deactivate it for other. Under the hood it checks allowClone product settings prop. If cloning is possible dispatches UPDATE_MODULAR_STATE Redux action and calls selectSnappingPoint() function which handles cloning logic.

Returns

Promise<void>

Fires

@mimeeq#mimeeq-modular-set-clone