blockly > Events > CommentCreate > (constructor)

Events.CommentCreate.(constructor)

Constructs a new instance of the CommentCreate class

Signature:

constructor(opt_comment?: WorkspaceComment);

Parameters

Parameter Type Description
opt_comment WorkspaceComment (Optional) The created comment. Undefined for a blank event.