блочно > IToolboxItem > isCollapsible
Является ли элемент панели инструментов складным.
Подпись:
isCollapsible(): boolean;
Возврат:
логическое значение
Истинно, если элемент панели инструментов является сворачиваемым.
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-01-04 UTC.
[null,null,["Последнее обновление: 2025-01-04 UTC."],[[["The `isCollapsible()` method, part of the `IToolboxItem` interface in Blockly, determines if a toolbox item can be collapsed."],["This method returns a boolean value: `true` if the item is collapsible, and `false` otherwise."]]],["The `isCollapsible()` method, part of the `IToolboxItem` interface, determines if a toolbox item can be collapsed. It takes no arguments and returns a boolean value. A `true` return indicates the toolbox item is collapsible, while `false` means it is not. This method provides information about the item's interactive state within the toolbox.\n"]]