Events.BlockDrag class
Notifies listeners when a block is being manually dragged/dropped.
Signature:
export declare class BlockDrag extends UiBase
Extends: UiBase
Constructors
Constructor | Modifiers | Description |
|---|---|---|
Constructs a new instance of the |
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
string | (Optional) The ID of the top-level block being dragged. | ||
Block[] | (Optional) A list of all of the blocks (i.e. all descendants of the block associated with the block ID) being dragged. | ||
boolean | (Optional) True if this is the start of a drag, false if this is the end of one. | ||
EventType |
Methods
Method | Modifiers | Description |
|---|---|---|
Encode the event as JSON. |