onSchemaCreated( )


Notes:

Triggered when translation schema is created.

Permissions
Wix Multilingual - Translation Schema Read
Learn more about app permissions.
Method Declaration
Copy
function onSchemaCreated(handler: function): void;
Method Parameters
handlerfunction

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

JavaScript
import { translationSchemas } from "@wix/multilingual"; translationSchemas.onSchemaCreated((event) => { // handle your event here });
Did this help?