blockly > ToolboxCategory > allAncestorsExpanded_
Whether all ancestors of a category (parent and parent's parent, etc.) are expanded.
Signature:
protected allAncestorsExpanded_(): boolean;
Returns:
boolean
True only if every ancestor is expanded
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 `ToolboxCategory.allAncestorsExpanded_()` method determines if all parent categories of a given category are expanded in the toolbox."],["It returns `true` if all ancestors are expanded, otherwise it returns `false`."],["This method is used internally by Blockly and is marked as protected, indicating it's not intended for direct external use."]]],[]]