Skip to main content

Home > blockly > Events > CommentBase > (constructor)

Events.CommentBase.(constructor)

Constructs a new instance of the CommentBase class

Signature:

constructor(opt_comment?: WorkspaceComment);

Parameters

ParameterTypeDescription
opt_commentWorkspaceComment(Optional) The comment this event corresponds to. Undefined for a blank event.