แบบสำรวจการวิจัย: บอกให้เราทราบเกี่ยวกับประสบการณ์การใช้งาน Blockly
เริ่มแบบสำรวจ
blockly > browserEvents > ยกเลิกการเชื่อมโยง
ฟังก์ชัน browserEvents.unbind()
ยกเลิกการเชื่อมโยงเหตุการณ์อย่างน้อย 1 เหตุการณ์จากการเรียกใช้ฟังก์ชัน
ลายเซ็น:
export declare function unbind(bindData: Data): (e: Event) => void;
พารามิเตอร์
พารามิเตอร์ |
ประเภท |
คำอธิบาย |
bindData |
ข้อมูล |
ข้อมูลทึบจาก bindEvent_ รายการนี้จะถูกล้างออกระหว่างการเรียกใช้ฟังก์ชันนี้ |
การคืนสินค้า:
(จ: เหตุการณ์) => เป็นโมฆะ
การเรียกฟังก์ชัน
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-08-21 UTC
[null,null,["อัปเดตล่าสุด 2024-08-21 UTC"],[[["The `browserEvents.unbind()` function is used to detach one or more events from their associated function calls."],["It takes a `bindData` object, which contains information about the events and functions to unbind, as input."],["Calling `unbind()` removes the specified events from the list, effectively stopping them from triggering their associated function."],["The function returns the original function call that was bound to the events."]]],[]]