blockly > WorkspaceSvg > addTopComment
Fügt der Liste der Top-Kommentare einen Kommentar hinzu.
Unterschrift:
addTopComment(comment: WorkspaceComment): void;
Parameter
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-08-21 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-08-21 (UTC)."],[[["The `addTopComment` method appends a WorkspaceComment object to the workspace's list of top-level comments."],["This method is part of the `WorkspaceSvg` class and is used for managing comments visually displayed within the Blockly workspace."],["The method accepts a single argument, `comment`, which is an instance of the `WorkspaceComment` class representing the comment to be added."],["Calling `addTopComment` does not return any value (void)."]]],[]]