Type Alias CommentsDeleteEvent
Type Alias
Type Signature
Example
Get the list of deleted comments.
instance.addEventListener("comments.delete", (comments: CommentsDeleteEvent) => {
console.log(comments.toJS());
});
Nutrient Web SDK
Get the list of deleted comments.
instance.addEventListener("comments.delete", (comments: CommentsDeleteEvent) => {
console.log(comments.toJS());
});
This event is emitted when comments are deleted. The event includes the list of deleted comments.