סקר מחקר: נשמח לשמוע על החוויה שלך עם Blockly
לפתיחת הסקר
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
blockly > הערות > WorkspaceComment > setMovable
המדיניות הזו מגדירה אם התגובה ניתנת להעברה או לא.
Signature:
setMovable(movable: boolean): void;
פרמטרים
פרמטר |
סוג |
תיאור |
נייד |
בוליאני |
|
החזרות:
ריק
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-08-27 (שעון UTC).
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2024-08-27 (שעון UTC)."],[[["The `comments.WorkspaceComment.setMovable()` method determines if a workspace comment can be moved or not by the user."],["This method accepts a single boolean parameter, `movable`, indicating whether the comment should be movable (true) or not (false)."],["Calling `setMovable()` with the desired boolean value modifies the movability of the workspace comment."]]],["The `setMovable()` method, part of the `WorkspaceComment` class, determines if a comment can be moved. It accepts a single boolean parameter, `movable`. If `movable` is true, the comment can be moved; otherwise, it cannot. The method's return type is void, indicating it doesn't produce any output value but modifies the comment's behavior directly.\n"]]