Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
blockly > ToolboxCategory > createRowContentsContainer_
Metoda ToolboxCategory.createRowContentsContainer_()
Tworzy kontener na etykietę i ikonę. Jest to konieczne, abyśmy mogli ustawić wszystkie zdarzenia wskaźnika podkategorii na „brak”.
Podpis:
protected createRowContentsContainer_(): 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 `createRowContentsContainer_()` method, part of the `ToolboxCategory` class, generates a container element. This container, a `HTMLDivElement`, is designed to hold both the label and icon of a toolbox category. Its primary purpose is to enable the setting of pointer events to \"none\" for all subcategory elements, effectively controlling user interaction. The method returns the created `HTMLDivElement`.\n"]]