סקר מחקר: נשמח לשמוע על החוויה שלך עם Blockly
לפתיחת הסקר
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
blockly > blockRendering > IPathObject > updateMovable
שיטת blockRendering.IPathObject.updateMovable()
מוסיפים או מסירים עיצוב שמראה שניתן להזיז בלוק.
Signature:
updateMovable(enabled: boolean): void;
פרמטרים
פרמטר |
סוג |
תיאור |
פעיל |
בוליאני |
|
החזרות:
ריק
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-08-21 (שעון 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-21 (שעון UTC)."],[[["The `blockRendering.IPathObject.updateMovable()` method is used to visually indicate whether a block is movable or not."],["It takes a single boolean parameter, `enabled`, which determines if the movable styling should be applied or removed."],["When called, this method updates the visual representation of the path object, without returning any value."]]],["The `updateMovable` method, part of the `IPathObject` interface, manages the visual styling of a block to indicate its movability. It accepts a boolean parameter, `enabled`, which determines whether the movable styling should be added or removed. The method's function is to adjust the block's appearance based on its movability state, and returns nothing.\n"]]