Skip to main content

Home > blockly > Events > CommentBase > CommentCreateDeleteHelper

Events.CommentBase.CommentCreateDeleteHelper() method

Helper function for Comment[Create|Delete]

Signature:

static CommentCreateDeleteHelper(event: CommentCreate | CommentDelete, create: boolean): void;

Parameters

ParameterTypeDescription
eventCommentCreate | CommentDeleteThe event to run.
createbooleanif True then Create, if False then Delete

Returns:

void