סקר מחקר: נשמח לשמוע על החוויה שלך עם Blockly
לפתיחת הסקר
blockly > סביבת עבודה > newComment
קבלת תגובה חדשה שנוצרה.
Signature:
newComment(id?: string): WorkspaceComment;
פרמטרים
פרמטר |
סוג |
תיאור |
id [מזהה] |
מחרוזת |
(אופציונלי) מזהה אופציונלי. צריך להשתמש במזהה הזה אם סופק. אחרת, צריך ליצור מזהה חדש. |
החזרות:
WorkspaceComment
התגובה שנוצרה.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-08-21 (שעון UTC).
[null,null,["עדכון אחרון: 2024-08-21 (שעון UTC)."],[[["The `Workspace.newComment()` method is used to create a new comment within a Blockly workspace."],["You can optionally provide an ID for the new comment, otherwise, a new unique ID will be automatically generated."],["The method returns a `WorkspaceComment` object representing the newly created comment."]]],[]]