blockly > Events > CommentBase > (constructor)
Events.CommentBase.(constructor)
Constructs a new instance of the CommentBase class
Signature:
constructor(opt_comment?: WorkspaceComment);
Parameters
Parameter | Type | Description |
|---|---|---|
opt_comment | (Optional) The comment this event corresponds to. Undefined for a blank event. |