onSchemaCreated( )


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 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?