blockly > IToolbox > rendern
Füllt die Toolbox mit neuen Toolbox-Elementen und entfernt alle alten Inhalte.
Unterschrift:
render(toolboxDef: ToolboxInfo): void;
Parameter
Parameter |
Typ |
Beschreibung |
toolboxDef |
ToolboxInfo |
Objekt mit Informationen zum Erstellen einer Toolbox. |
Gibt zurück:
voidm
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-10-15 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-10-15 (UTC)."],[[["The `render()` method populates the toolbox with new items based on provided information and clears any existing content."],["It accepts a single argument, `toolboxDef`, which is a `ToolboxInfo` object containing the structure and details for the new toolbox."],["The method does not return any value (void) and is primarily responsible for visually updating the toolbox."]]],[]]