Skip to main content

Home > blockly > Events > CommentDrag > (constructor)

Events.CommentDrag.(constructor)

Constructs a new instance of the CommentDrag class

Signature:

constructor(opt_comment?: WorkspaceComment, opt_isStart?: boolean);

Parameters

ParameterTypeDescription
opt_commentWorkspaceComment(Optional) The comment that is being dragged. Undefined for a blank event.
opt_isStartboolean(Optional) Whether this is the start of a comment drag. Undefined for a blank event.