Skip to main content

Home > blockly > Events > CommentDrag

Events.CommentDrag class

Notifies listeners when a comment is being manually dragged/dropped.

Signature:

export declare class CommentDrag extends UiBase 

Extends: UiBase

Constructors

ConstructorModifiersDescription
(constructor)(opt_comment, opt_isStart)Constructs a new instance of the CommentDrag class

Properties

PropertyModifiersTypeDescription
commentId?string(Optional) The ID of the top-level comment being dragged.
isStart?boolean(Optional) True if this is the start of a drag, false if this is the end of one.
typeEventType

Methods

MethodModifiersDescription
toJson()Encode the event as JSON.