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