Skip to main content

onRemoveComment

The function called when the specified comment is removed with the RemoveComments method.

Parameters

NameData typeDescription
commentEvent_commentDefines the comment object containing the comment data.
window.Asc.plugin.attachEditorEvent("onRemoveComment", (comment) => {
removeComments([comment.Id]);
});