แบบสำรวจการวิจัย: บอกให้เราทราบเกี่ยวกับประสบการณ์การใช้งาน Blockly
เริ่มแบบสำรวจ
blockly > เคล็ดลับเครื่องมือ > unbindMouseEvents
ยกเลิกการเชื่อมโยงเหตุการณ์เมาส์ของเคล็ดลับเครื่องมือจากองค์ประกอบ SVG
ลายเซ็น:
export declare function unbindMouseEvents(element: Element | null): void;
พารามิเตอร์
พารามิเตอร์ |
ประเภท |
คำอธิบาย |
องค์ประกอบ |
องค์ประกอบ | ค่าว่าง |
องค์ประกอบ SVG ที่จะเชื่อมโยงเคล็ดลับเครื่องมือ |
การคืนสินค้า:
เป็นโมฆะ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-08-21 UTC
[null,null,["อัปเดตล่าสุด 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"]]