Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
blockly > ToolboxCategory > createContainer_
Tworzy kontener, w którym znajduje się wiersz i wszystkie podkategorie.
Podpis:
protected createContainer_(): HTMLDivElement;
Zwroty:
HTMLDivElement
Element div zawierający ikonę i etykietę.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[],["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"]]