blockly > Toolbox > createDom_
Creates the DOM for the toolbox.
Signature:
protected createDom_(workspace: WorkspaceSvg): HTMLDivElement;
Parameters
Parameter |
Type |
Description |
workspace |
WorkspaceSvg |
The workspace this toolbox is on. |
Returns:
HTMLDivElement
The HTML container for the toolbox.
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 `createDom_` method generates the HTML structure for a Blockly toolbox."],["It takes the workspace where the toolbox will reside as input."],["The method outputs an HTMLDivElement that acts as the toolbox's container."]]],[]]