סקר מחקר: נשמח לשמוע על החוויה שלך עם Blockly
לפתיחת הסקר
blockly > WorkspaceSvg > startDrag
שיטת WorkspaceSvg.startDrag()
אפשר להתחיל לעקוב אחרי גרירה של אובייקט בסביבת העבודה הזו.
Signature:
startDrag(e: PointerEvent, xy: Coordinate): void;
פרמטרים
פרמטר |
סוג |
תיאור |
e |
PointerEvent |
אירוע של מצביע כלפי מטה. |
X |
ניהול צוותים |
המיקום ההתחלתי של האובייקט. |
החזרות:
ריק
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-08-28 (שעון UTC).
[null,null,["עדכון אחרון: 2024-08-28 (שעון UTC)."],[[["The `WorkspaceSvg.startDrag()` method initiates the tracking of an object being dragged on the workspace."],["It requires a PointerEvent to identify the drag start and a Coordinate object to specify the object's initial position."],["This method does not return any value, only starting the drag process on the workspace."]]],[]]