Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
blockly > Blocages
Variable "Blocks"
Mappage des noms de type de bloc pour bloquer les objets prototype.
Signature :
Blocks: {
[key: string]: BlockDefinition;
}
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/09/12 (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/09/12 (UTC)."],[[["`Blocks` is a dictionary that stores block definitions, associating each block type name with its corresponding prototype object."],["This mapping allows Blockly to access and manage various block types efficiently during workspace operations."]]],["The provided content defines the \"Blocks\" variable within a programming context, likely related to Blockly. It's a dictionary-like structure that maps block type names (represented as strings) to their corresponding block prototype objects. Each block prototype, defined as `BlockDefinition`, holds the configuration and behavior specifications for that specific block type. This mapping is essential for managing and accessing different types of blocks in the system.\n"]]