blockly > IFlyout > getWidth
Méthode IFlyout.getWidth()
Obtenez la largeur du panneau déroulant.
Signature :
getWidth(): number;
Renvoie :
Nombre
Largeur du panneau déroulant.
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/11/22 (UTC).
[null,null,["Dernière mise à jour le 2024/11/22 (UTC)."],[[["The `getWidth()` method is part of the `IFlyout` interface in Blockly."],["This method returns the width of the flyout as a numerical value."],["Its primary function is to retrieve the current width of the flyout element."]]],["The `getWidth` method, part of the `IFlyout` interface, retrieves the flyout's width. It is a function that takes no arguments and returns a numerical value representing the flyout's width. The method's signature is `getWidth(): number;`, indicating it's a function that returns a number. The return value is specifically defined as the width of the flyout.\n"]]