blockly > IDragTarget > onDragExit
IDragTarget.onDragExit() yöntemi
Blok veya baloncuk içeren bir imleç bu sürükleme hedefinden çıktığında işlenir.
İmza:
onDragExit(dragElement: IDraggable): void;
Parametreler
Parametre |
Tür |
Açıklama |
dragElement |
IDraggable |
Şu anda sürüklenen blok veya balon. |
Şunu döndürür:
geçersiz
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-09-12 UTC.
[null,null,["Son güncelleme tarihi: 2024-09-12 UTC."],[[["`onDragExit()` is a method within the `IDragTarget` interface that manages behavior when a dragged element (block or bubble) exits the target area."],["The method takes one argument: `dragElement` of type `IDraggable`, representing the currently dragged item."],["This method is responsible for defining actions performed when an element is no longer hovering over the drag target."]]],["The `onDragExit()` method, part of the `IDragTarget` interface, is triggered when a dragged block or bubble leaves a specific target area. It takes one parameter, `dragElement`, which represents the `IDraggable` object (either a block or bubble) being moved. The method's purpose is to manage actions when the dragged element exits the target. This method returns void.\n"]]