গবেষণা সমীক্ষা: ব্লকলি
স্টার্ট সার্ভে নিয়ে আপনার অভিজ্ঞতা সম্পর্কে আমাদের বলুন
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
ব্লকলি > IToolbox আইটেম
টুলবক্সে একটি আইটেমের জন্য ইন্টারফেস।
স্বাক্ষর:
export interface IToolboxItem extends IFocusableNode
প্রসারিত: IFocusableNode
পদ্ধতি
পদ্ধতি | বর্ণনা |
---|
নিষ্পত্তি() | এই টুলবক্স আইটেম নিষ্পত্তি. ডিফল্টরূপে কোন অপশন. |
getClickTarget() | ক্লিকযোগ্য HTML উপাদান পায়। |
getDiv() | টুলবক্স আইটেম জন্য div পায়. |
getId() | এই টুলবক্স আইটেমের জন্য একটি অনন্য শনাক্তকারী পায়। |
getParent() | টুলবক্স আইটেম নেস্ট করা হলে অভিভাবক পায়। |
init() | টুলবক্স আইটেমটি শুরু করে। এর মধ্যে রয়েছে DOM তৈরি করা এবং তথ্য বস্তুর উপর ভিত্তি করে যেকোনো আইটেমের অবস্থা আপডেট করা। |
সংকোচনযোগ্য() | টুলবক্স আইটেমটি সংকোচনযোগ্য কিনা। |
নির্বাচনযোগ্য() | টুলবক্স আইটেম নির্বাচনযোগ্য কিনা। |
setVisible_(isVisible) | বিভাগটি দৃশ্যমান কিনা তা সেট করে। একটি বিভাগ দৃশ্যমান হওয়ার জন্য এর মূল বিভাগকেও প্রসারিত করতে হবে। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["The `IToolboxItem` interface defines the structure and behavior of items within the Blockly toolbox."],["It provides methods for managing an item's lifecycle, including initialization, disposal, and interaction."],["Toolbox items can be clickable, have a visual representation (div), and may be nested within other items."],["Properties like visibility, selectability, and collapsibility are also managed through this interface."],["Each toolbox item has a unique identifier for easy reference and manipulation."]]],["The `IToolboxItem` interface defines the structure for items within a toolbox. Key methods include `dispose()` for cleanup, `getClickTarget()` and `getDiv()` to access the item's HTML, and `getId()` to retrieve its unique identifier. `getParent()` identifies nested items. `init()` initializes the item, `isCollapsible()` and `isSelectable()` determine item behavior. Finally, `setVisible_()` controls the visibility of the item. Each of the methods has a corresponding description.\n"]]