blockly > ToolboxCategory > createRowContainer_
Creates the parent of the contents container. All clicks will happen on this div.
Signature:
protected createRowContainer_(): HTMLDivElement;
Returns:
HTMLDivElement
The div that holds the contents container.
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 `createRowContainer_` method generates a div element that acts as a parent container for the content of a ToolboxCategory."],["All user interactions, specifically clicks, related to the category's content are registered on this generated div."],["This method is designated as protected and returns the created HTMLDivElement, which serves to contain other elements within the ToolboxCategory."]]],["The `createRowContainer_()` method, part of the `ToolboxCategory` class, generates the main container element for a category's contents. This method, designated as protected, returns an `HTMLDivElement`. This created `div` acts as the parent element for the content container and will register all click events within that category area. The purpose of it is to hold the category's contents container.\n"]]