Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
blockly > Bloquer > getIcons
Méthode Block.getIcons()
Signature :
getIcons(): IIcon[];
Renvoie :
IIcon[]
Tableau des icônes associées à ce bloc.
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 2025/07/25 (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 2025/07/25 (UTC)."],[],["The `Block.getIcons()` method retrieves an array of icons associated with a specific block. This method, which takes no arguments, returns an array of `IIcon` objects. Each `IIcon` object in the returned array represents an icon attached to the block. The `IIcon[]` represents the type of the array that the function will return.\n"]]