סקר מחקר: נשמח לשמוע על החוויה שלך עם Blockly
לפתיחת הסקר
blockly > IDragTarget > onDragEnter
שיטת IDragTarget.onDragEnter()
נקודת אחיזה כשסמן עם בלוק או בועה נכנס ליעד הגרירה.
Signature:
onDragEnter(dragElement: IDraggable): void;
פרמטרים
פרמטר |
סוג |
תיאור |
dragElement |
IDraggable |
הבלוק או הבועה שגוררים כרגע. |
החזרות:
ריק
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-09-12 (שעון UTC).
[null,null,["עדכון אחרון: 2024-09-12 (שעון UTC)."],[[["The `onDragEnter` method is triggered when a draggable element (block or bubble) enters the boundaries of a drag target."],["This method receives the currently dragged element (`IDraggable`) as an argument to allow for custom handling based on the dragged item."],["The method does not return any value (`void`) and primarily serves to initiate visual or logical responses upon drag enter."]]],[]]