This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when translation content is created.
function onContentCreated(handler: function): void;
handler(event: ContentCreatedEnvelope): void | Promise<void>
import { translationContents } from "@wix/multilingual";
translationContents.onContentCreated((event) => {
// handle your event here
});