封鎖 >ToolboxCategory (工具箱類別) >createContainer_
建立包含該列和所有子類別的容器。
Signature:
protected createContainer_(): HTMLDivElement;
傳回:
HTMLDivElement
包含圖示和標籤的 div。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-08-22 (世界標準時間)。
[null,null,["上次更新時間:2024-08-22 (世界標準時間)。"],[[["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"]]