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 schema is created.
function onSchemaCreated(handler: function): void;
handler(event: SchemaCreatedEnvelope): void | Promise<void>
import { translationSchemas } from "@wix/multilingual";
translationSchemas.onSchemaCreated((event) => {
// handle your event here
});