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