onCustomizationDeleted( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Notes:

Triggered when a customization is deleted.

Method Declaration
Copy
function onCustomizationDeleted(handler: function): void;
Method Parameters
handlerfunction

handler(event: CustomizationDeletedEnvelope): void | Promise<void>

JavaScript
import { customizationsV3 } from "@wix/stores"; customizationsV3.onCustomizationDeleted((event) => { // handle your event here });
Did this help?