গবেষণা সমীক্ষা: ব্লকলি
স্টার্ট সার্ভে নিয়ে আপনার অভিজ্ঞতা সম্পর্কে আমাদের বলুন
ব্লকলি > স্ক্রলবার > সেট
স্ক্রলবার হ্যান্ডেলের অবস্থান সেট করুন।
স্বাক্ষর:
set(value: number, updateMetrics?: boolean): void;
পরামিতি
প্যারামিটার | টাইপ | বর্ণনা |
---|
মান | সংখ্যা | বিষয়বস্তু স্থানচ্যুতি, পিক্সেলে দৃশ্যের তুলনায়। |
আপডেট মেট্রিক্স | বুলিয়ান | (ঐচ্ছিক) এই সেট কলে মেট্রিক্স আপডেট করতে হবে কিনা। ডিফল্ট থেকে সত্য। |
রিটার্ন:
অকার্যকর
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-01-10 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-01-10 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["The `Scrollbar.set()` method positions the scrollbar handle based on content displacement."],["It accepts a numeric `value` representing the content's pixel displacement relative to the view and an optional boolean `updateMetrics` to control metric updates, defaulting to true."],["Calling `Scrollbar.set()` does not return any value."]]],["The `Scrollbar.set()` method positions the scrollbar handle. It accepts two parameters: `value`, a numerical representation of the content's displacement in pixels, and an optional boolean `updateMetrics`, which defaults to true and determines if metrics should be updated. The method returns no value (`void`). The `value` parameter is required to indicate the new handle position.\n"]]