This event is emitted when comments are updated. The event includes the list of updated comments.
Get the list of updated comments.
instance.addEventListener("comments.update", (comments: CommentsUpdateEvent) => { console.log(comments.toJS());}); Copy
instance.addEventListener("comments.update", (comments: CommentsUpdateEvent) => { console.log(comments.toJS());});
NutrientViewer.EventName.COMMENTS_UPDATE
This event is emitted when comments are updated. The event includes the list of updated comments.