blockly > BlockDragger > (constructor)
BlockDragger.(constructor)
Constructs a new instance of the BlockDragger
class
Signature:
constructor(block: BlockSvg, workspace: WorkspaceSvg);
Parameters
Parameter | Type | Description |
---|---|---|
block | BlockSvg | The block to drag. |
workspace | WorkspaceSvg | The workspace to drag on. |