блочно > IToolbox > getWidth
Получает ширину панели инструментов.
Подпись:
getWidth(): number;
Возврат:
число
Ширина ящика для инструментов.
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-01-10 UTC.
[null,null,["Последнее обновление: 2025-01-10 UTC."],[[["The `getWidth()` method is part of the `IToolbox` interface in Blockly and is used to retrieve the width of the toolbox."],["It returns a numerical value representing the width of the toolbox."]]],["The `getWidth` method, part of the `IToolbox` interface, retrieves the toolbox's width. It is a method that takes no arguments and returns a numerical value. This returned number represents the width of the toolbox in an unspecified unit. The method's signature, `getWidth(): number;`, specifies this structure.\n"]]