blockly > common > defineBlocksWithJsonArray

Common.defineBlocksWithJsonArray() 函式

從 JSON 區塊定義的陣列定義區塊,例如可能由 Blockly 開發人員工具產生的區塊。

Signature:

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

參數

參數 類型 說明
jsonArray 任何 [] JSON 區塊定義的陣列。

傳回:

void