This event is emitted when new comments are created. The event includes the list of created comments.
Get the list of created comments.
instance.addEventListener("comments.create", (comments: CommentsCreateEvent) => { console.log(comments.toJS());}); Copy
instance.addEventListener("comments.create", (comments: CommentsCreateEvent) => { console.log(comments.toJS());});
NutrientViewer.EventName.COMMENTS_CREATE
This event is emitted when new comments are created. The event includes the list of created comments.