Search.../

onCommentUpdated( )

Developer Preview

Triggered when a comment is updated.

Syntax

function wixComments_onCommentUpdated(event: CommentUpdated): void

onCommentUpdated Parameters

NAME
TYPE
DESCRIPTION
event
Optional
CommentUpdated

Returns

This function does not return anything.

Return Type:

void

Was this helpful?

onCommentUpdated example

Copy Code
1
2 export function wixComments_onCommentUpdated(event) {
3 const eventId = event.metadata.id
4 const entityId = event.entity._id;
5 }
6
7