DS Server

CommentEventArgs Object

Object|Introduced in 30.0

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

PropertyDescription
commentedTextInformation about the comment.