blockly > common > defineBlocksWithJsonArray

native.defineBlocksWithJsonArray() 函数

从 JSON 块定义数组中定义块,可能由 Blockly 开发者工具生成。

Signature:

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

参数

参数 类型 说明
jsonArray 任意 [] JSON 块定义的数组。

返回

void