onAddComment
The function called when a comment is added to the document with the AddComment method.
Parameters:
Name |
Type |
Description |
comment |
comment
|
Defines the comment object containing the comment data. |
Example
Copy code
window.Asc.plugin.event_onAddComment = function(comment)
{
Comments.push(comment);
$('#scrollable-container-id').append(makeComment(comment.Id, comment));
};