onCommentUpdated( )


Triggered when a comment is updated.

Method Declaration
Copy
function wixComments_onCommentUpdated(event: CommentUpdated): void;
Method Parameters
eventCommentUpdated
onCommentUpdated example
JavaScript
export function wixComments_onCommentUpdated(event) { const eventId = event.metadata.id; const entityId = event.entity._id; }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?