onContentUpdated( )


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

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

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

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