Stay organized with collections Save and categorize content based on your preferences.

blockly > common > defineBlocksWithJsonArray

common.defineBlocksWithJsonArray() function

Define blocks from an array of JSON block definitions, as might be generated by the Blockly Developer Tools.

Signature:

export declare function defineBlocksWithJsonArray(jsonArray: any[]): void;

Parameters

Parameter Type Description
jsonArray any[] An array of JSON block definitions.

Returns:

void