onSchemaUpdated( )


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 updated.

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

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

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