CommentEventArgs Object
Description
Event argument for comment related events. ("commentChanged", "commentCreated", "commentDeleted", "commentedTextEntered", "commentedTextLeft" and "commentStateChanged")
Syntax
{
commentedText: <CommentedTextInfo>
}Examples
The following example demonstrates CommentEventArgs in a practical document-editing workflow. Event argument for comment related events. ("commentChanged", "commentCreated", "commentDeleted", "commentedTextEntered", "commentedTextLeft" and "commentStateChanged").
function handleComment(args) {
console.log("commented text:", args.commentedText);
}Members
Properties
| Property | Description |
|---|---|
| commentedText | Information about the comment. |