blockly > İpucu > unbindMouseEvents
İpucu fare etkinliklerinin SVG öğesinden bağlantısını kaldırır.
İmza:
export declare function unbindMouseEvents(element: Element | null): void;
Parametreler
Parametre |
Tür |
Açıklama |
öğe |
Öğe | boş |
İpucunun bağlı olduğu SVG öğesi. |
Ş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-08-21 UTC.
[null,null,["Son güncelleme tarihi: 2024-08-21 UTC."],[[["`Tooltip.unbindMouseEvents()` removes mouse event listeners associated with tooltips from a given SVG element."],["This function accepts an SVG element (or null) as input and does not return any value."],["Primarily used to detach tooltip interactions, ensuring they no longer trigger on mouse events over the specified element."]]],["The `Tooltip.unbindMouseEvents()` function removes tooltip-related mouse event listeners from a specified SVG element. It takes one parameter, `element`, which represents the SVG element (or null) from which the events should be removed. This function effectively stops tooltips from being triggered by mouse interactions on the designated element. The function returns nothing (`void`) after execution.\n"]]