Nutrient Web SDK
    Preparing search index...

    Type Alias IsEditableCommentCallback

    IsEditableCommentCallback: (comment: NutrientViewer.Comment) => boolean

    This callback can be run on individual comments to detect whether the comment can be edited based on its returned boolean.

    For more information, see Configuration#isEditableComment

    Type Declaration

    Only allow the modification of comment from the same author.

    NutrientViewer.load({
    isEditableComment: function(comment) {
    return comment.creatorName === myCurrentUser.name;
    },
    });