blockly > ICollapsibleToolboxItem > isExpanded
Whether the toolbox item is expanded to show its child subcategories.
Signature:
isExpanded(): boolean;
Returns:
boolean
True if the toolbox item shows its children, false if it is collapsed.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["The `isExpanded()` method, part of the `ICollapsibleToolboxItem` interface, determines if a toolbox item is currently expanded to reveal its subcategories."],["This method returns `true` if the item's children are visible (expanded) and `false` if they are hidden (collapsed)."]]],[]]