This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when a customization is deleted.
function onCustomizationDeleted(handler: function): void;
handler(event: CustomizationDeletedEnvelope): void | Promise<void>
import { customizationsV3 } from "@wix/stores";
customizationsV3.onCustomizationDeleted((event) => {
// handle your event here
});