Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
blockly > defineBlocksWithJsonArray
définir la variable "DefineBlocksWithJsonArray"
Définissez des blocs à partir d'un tableau de définitions de blocs JSON, qui peuvent être générés par les outils pour les développeurs Blockly.
Signature :
defineBlocksWithJsonArray: typeof common.defineBlocksWithJsonArray
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2024/08/22 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2024/08/22 (UTC)."],[[["`defineBlocksWithJsonArray` is a variable that allows you to define blocks using a JSON array."],["The JSON array used by `defineBlocksWithJsonArray` can be produced by the Blockly Developer Tools."],["The `defineBlocksWithJsonArray` variable is of the type `common.defineBlocksWithJsonArray`."]]],["The function `defineBlocksWithJsonArray` defines blocks using an array of JSON block definitions. This array-based definition method is compatible with the format generated by the Blockly Developer Tools. The function's type is specified as `typeof common.defineBlocksWithJsonArray`, indicating it's a standardized way to create blocks within the Blockly system using a JSON array structure.\n"]]