Stay organized with collections
Save and categorize content based on your preferences.
blockly > ICollapsibleToolboxItem > getChildToolboxItems
Gets any children toolbox items. (ex. Gets the subcategories)
Signature:
getChildToolboxItems(): IToolboxItem[];
Returns:
IToolboxItem[]
The child toolbox items.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThe \u003ccode\u003egetChildToolboxItems()\u003c/code\u003e method retrieves the children of a collapsible toolbox item, such as subcategories within a category.\u003c/p\u003e\n"],["\u003cp\u003eIt returns an array of \u003ccode\u003eIToolboxItem\u003c/code\u003e objects, representing the child toolbox items.\u003c/p\u003e\n"],["\u003cp\u003eThis method is part of the \u003ccode\u003eICollapsibleToolboxItem\u003c/code\u003e interface in Blockly.\u003c/p\u003e\n"]]],[],null,["[blockly](./blockly.md) \\\u003e [ICollapsibleToolboxItem](./blockly.icollapsibletoolboxitem_interface.md) \\\u003e [getChildToolboxItems](./blockly.icollapsibletoolboxitem_interface.getchildtoolboxitems_1_methodsignature.md)\n\nICollapsibleToolboxItem.getChildToolboxItems() method\n-----------------------------------------------------\n\nGets any children toolbox items. (ex. Gets the subcategories)\n\n**Signature:** \n\n getChildToolboxItems(): IToolboxItem[];\n\n**Returns:**\n\n[IToolboxItem](./blockly.itoolboxitem_interface.md)\\[\\]\n\nThe child toolbox items."]]