Function: setCurrentBlock()
function setCurrentBlock(block): void;
Defined in: packages/blockly/core/contextmenu.ts:58
Sets the block the context menu is currently attached to.
Parameters
| Parameter | Type | Description |
|---|---|---|
block | Block | null | The block the context menu is attached to. |
Returns
void