Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
blockly > IToolbox > isHorizontal
Détermine si la boîte à outils est horizontale ou non.
Signature :
isHorizontal(): boolean;
Renvoie :
booléen
"True" si la boîte à outils est horizontale, "false" si elle est verticale.
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/20 (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/20 (UTC)."],[[["The `isHorizontal()` method, part of the `IToolbox` interface in Blockly, determines the orientation of the toolbox."],["It returns `true` if the toolbox is horizontally aligned and `false` if it's vertically aligned, providing a boolean indicator of its layout."]]],["The `IToolbox.isHorizontal()` method determines the toolbox's orientation. It returns a boolean value: `true` if the toolbox is arranged horizontally, and `false` if it's arranged vertically. The method takes no input parameters and directly indicates the toolbox's current layout. The core action is to check and report the orientation.\n"]]