Nutrient Web SDK

ReferenceEventsCommentsUpdateEvent

Type Alias CommentsUpdateEvent

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

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

Example

Get the list of updated comments.

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

See Also