blockly > ToolboxCategory > createContainer_
Creates the container that holds the row and any subcategories.
Signature:
protected createContainer_(): HTMLDivElement;
Returns:
HTMLDivElement
The div that holds the icon and the label.
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 `createContainer_` method is a protected method of the `ToolboxCategory` class used to generate the container element for the category."],["This method specifically creates the HTML div element responsible for holding the category's icon, label, and any potential subcategories."],["Upon execution, the method returns the created HTML div element, which serves as the container for the category's content within the toolbox."]]],["The `createContainer_()` method, part of the `ToolboxCategory` class, generates the HTML container for a toolbox category. This container serves as a holder for the category's row and any nested subcategories. The method returns an `HTMLDivElement`, which specifically holds the icon and label elements of the category. It's a protected method and does not take any input parameters.\n"]]