จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
blockly > IDraggable
อินเทอร์เฟซที่สามารถลากได้
หมายถึงวัตถุที่สามารถลากได้
ลายเซ็น:
export interface IDraggable extends IDragStrategy
ขยาย: IDragStrategy
เมธอด
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[],["The `IDraggable` interface defines an object that can be dragged, extending the `IDragStrategy` interface. It provides a method, `getRelativeToSurfaceXY()`, which is the core action. This method returns the present location of the draggable object within the workspace's coordinate system. Essentially, it allows tracking the dragged item's position relative to the workspace.\n"],null,[]]