TX Text Control .NET Server

Javascript: CommentCallbackData.comment Property

Property|Introduced in 30.0

Description

The added comment. Is null if no comment could be added.

Syntax

<CommentedText> CommentCallbackData.comment

Examples

The following example demonstrates CommentCallbackData.comment in a practical document-editing workflow. The added comment. Is null if no comment could be added.

function inspectComment(commentCallbackData) {
    const comment = commentCallbackData.comment;
    console.log("comment:", comment);
}