Function: defineBlocks()
function defineBlocks(blocks): void;
Defined in: packages/blockly/core/common.ts:332
Add the specified block definitions to the block definitions dictionary (Blockly.Blocks).
Parameters
| Parameter | Type | Description |
|---|---|---|
blocks | { [key: string]: any; } | A map of block type names to block definitions. |
Returns
void