গবেষণা সমীক্ষা: ব্লকলি
স্টার্ট সার্ভে নিয়ে আপনার অভিজ্ঞতা সম্পর্কে আমাদের বলুন
সরান
Blockly এর প্রধান কর্মক্ষেত্র তিনটি ভিন্ন পদ্ধতি ব্যবহার করে চারপাশে সরানো যেতে পারে: স্ক্রলবার, মাউস, বা মাউস হুইল।
সরানো সেটিংস একটি বস্তু দ্বারা সংজ্ঞায়িত করা হয় যা Blockly এর কনফিগারেশনের অংশ। এখানে একটি উদাহরণ:
var workspace = Blockly.inject('blocklyDiv',
{move:{
scrollbars: {
horizontal: true,
vertical: true
},
drag: true,
wheel: false}
});
কর্মক্ষেত্রে উল্লম্ব বা অনুভূমিক স্ক্রলবার আছে কিনা তা নির্ধারণ করে। একটি বস্তু নেয় যেখানে horizontal
সম্পত্তি অনুভূমিক স্ক্রোলিং সক্ষম কিনা তা নির্ধারণ করে এবং vertical
স্ক্রলিং সক্ষম কিনা তা নির্ধারণ করে। যদি একটি বুলিয়ান পাস করা হয় তবে এটি সেই মান হিসাবে সেট করা horizontal
এবং vertical
উভয় বৈশিষ্ট্য সহ একটি বস্তুকে পাস করার সমতুল্য। কর্মক্ষেত্রে বিভাগ থাকলে true
ডিফল্ট (উভয় অনুভূমিক এবং উল্লম্ব স্ক্রোলিং সক্ষম)।
টানুন
ওয়ার্কস্পেস মাউস দিয়ে টেনে আনা যাবে কিনা তা নির্ধারণ করে। scrollbars
false
হলে সর্বদা false
(অন্তত বিকল্প পার্সিং এ)। scrollbars
true
হলে ডিফল্ট true
।
চাকা
ওয়ার্কস্পেস মাউস হুইল দিয়ে স্ক্রোল করা যায় কিনা তা নির্ধারণ করে। scrollbars
false
হলে সর্বদা false
(অন্তত বিকল্প পার্সিং এ)। ডিফল্ট থেকে false
।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-01-09 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-01-09 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Blockly workspaces can be navigated using scrollbars, mouse dragging, and mouse wheel scrolling."],["These navigation options are configurable through Blockly's initialization options using the `move` property and its sub-properties: `scrollbars`, `drag`, and `wheel`."],["Scrollbars can be individually enabled or disabled for horizontal and vertical scrolling, while dragging and wheel scrolling are enabled or disabled with boolean values."]]],["Blockly's workspace movement is configured via the `move` object within its settings. This configuration allows defining the behavior of scrollbars, mouse dragging, and mouse wheel scrolling. `scrollbars` enables horizontal and/or vertical scrolling. `drag` enables mouse dragging, dependent on scrollbars being enabled. `wheel` enables mouse wheel scrolling, also dependent on scrollbars. Default settings include both scrollbars enabled and mouse dragging enabled, but mouse wheel disabled. If scrollbars are false then drag and wheel will be false as well.\n"]]