গবেষণা সমীক্ষা: ব্লকলি
স্টার্ট সার্ভে নিয়ে আপনার অভিজ্ঞতা সম্পর্কে আমাদের বলুন
ব্লকলি > IDraggable
IDraggable ইন্টারফেস
টেনে আনা যায় এমন একটি বস্তুর প্রতিনিধিত্ব করে।
স্বাক্ষর:
export interface IDraggable extends IDragStrategy
প্রসারিত: IDragStrategy
পদ্ধতি
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-01-06 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-01-06 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["The `IDraggable` interface in Blockly represents any object that can be dragged within the workspace."],["It extends the `IDragStrategy` interface and provides a method to get the current location of the draggable object relative to the workspace's surface."]]],["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"]]