Nutrient Web SDK

ReferenceEventsCommentsDeleteEvent

Type Alias CommentsDeleteEvent

This event is emitted when comments are deleted. The event includes the list of deleted comments.

Type Alias
Type Signature
type CommentsDeleteEvent = NutrientViewer.Immutable.List<NutrientViewer.Comment>

Example

Get the list of deleted comments.

instance.addEventListener("comments.delete", (comments: CommentsDeleteEvent) => {
console.log(comments.toJS());
});

See Also