Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
blockly > ComponentManager > ComponentDatum
Interface ComponentManager.ComponentDatum
Objet stockant des informations sur les composants.
Signature :
interface ComponentDatum
Propriétés
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/29 (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/29 (UTC)."],[[["`ComponentDatum` objects store information about individual UI components within Blockly's ComponentManager."],["Each `ComponentDatum` includes the component itself, its capabilities, and a weight value potentially used for prioritization."],["These data objects facilitate the management and organization of UI components within the Blockly workspace."]]],["The `ComponentDatum` interface stores component-related data, featuring three key properties. `capabilities` is an array detailing the component's abilities as strings or `Capability` objects. `component` holds the actual `IComponent` instance. `weight` is a numerical value associated with the component, used for ordering or prioritization. This data is part of the `ComponentManager` within the Blockly library.\n"]]