แบบสำรวจการวิจัย: บอกให้เราทราบเกี่ยวกับประสบการณ์การใช้งาน Blockly
เริ่มแบบสำรวจ
blockly > bumpObjects > bumpIntoBoundsHandler
ฟังก์ชัน bumpObjects.bumpIntoBoundsHandler()
สร้างเครื่องจัดการสำหรับการชนวัตถุเมื่อข้ามขอบเขตคงที่
ลายเซ็น:
export declare function bumpIntoBoundsHandler(workspace: WorkspaceSvg): (p1: Abstract) => void;
พารามิเตอร์
พารามิเตอร์ |
ประเภท |
คำอธิบาย |
พื้นที่ทำงาน |
WorkspaceSvg |
พื้นที่ทำงานที่ต้องจัดการ |
การคืนสินค้า:
(หน้า 1: บทคัดย่อ) => เป็นโมฆะ
เครื่องจัดการเหตุการณ์
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-10-15 UTC
[null,null,["อัปเดตล่าสุด 2024-10-15 UTC"],[[["The `bumpObjects.bumpIntoBoundsHandler()` function generates an event handler that manages the behavior of objects colliding with the workspace boundaries."],["This function accepts the workspace as input and returns a handler function specifically designed for the `bumpIntoBounds` event."],["The returned handler function takes an `Abstract` event as input, typically triggered when an object interacts with the workspace bounds."]]],[]]