ঘোষণা :
15 এপ্রিল, 2025 এর আগে আর্থ ইঞ্জিন ব্যবহার করার জন্য নিবন্ধিত সমস্ত অবাণিজ্যিক প্রকল্পগুলিকে অবশ্যই আর্থ ইঞ্জিন অ্যাক্সেস বজায় রাখার জন্য
অ-বাণিজ্যিক যোগ্যতা যাচাই করতে হবে।
ui.Slider
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
দুটি সাংখ্যিক মানের মধ্যে রৈখিকভাবে সীমাবদ্ধ একটি টেনে আনা যায়। স্লাইডারের মান এটির পাশে একটি লেবেল হিসাবে প্রদর্শিত হয়।
ব্যবহার | রিটার্নস | ui.Slider( min , max , value , step , onChange , direction , disabled , style ) | ui.স্লাইডার |
যুক্তি | টাইপ | বিস্তারিত | min | নম্বর, ঐচ্ছিক | সর্বনিম্ন মান। ডিফল্ট 0. |
max | নম্বর, ঐচ্ছিক | সর্বোচ্চ মান। ডিফল্ট 1. |
value | নম্বর, ঐচ্ছিক | প্রাথমিক মান। ডিফল্ট 0. |
step | নম্বর, ঐচ্ছিক | স্লাইডারের জন্য ধাপের আকার। ডিফল্ট 0.01। |
onChange | ফাংশন, ঐচ্ছিক | স্লাইডারের অবস্থা পরিবর্তন হলে ফায়ার করার জন্য একটি কলব্যাক। কলব্যাকটি স্লাইডারের বর্তমান মান এবং স্লাইডার উইজেট পাস করে। |
direction | স্ট্রিং, ঐচ্ছিক | স্লাইডারের দিক। 'অনুভূমিক' বা 'উল্লম্ব'-এর একটি। ডিফল্ট 'অনুভূমিক'। |
disabled | বুলিয়ান, ঐচ্ছিক | স্লাইডার নিষ্ক্রিয় কিনা। ডিফল্ট থেকে মিথ্যা. |
style | বস্তু, ঐচ্ছিক | এই উইজেটের জন্য সেট করা মান সহ অনুমোদিত CSS শৈলীর একটি বস্তু। শৈলী() ডকুমেন্টেশন দেখুন। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThe \u003ccode\u003eui.Slider\u003c/code\u003e widget enables users to interactively select a numeric value within a defined range, visually represented by a draggable slider.\u003c/p\u003e\n"],["\u003cp\u003eIt offers customization options like minimum/maximum values, step size, initial value, orientation, and an onChange callback to respond to user interactions.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can further tailor its appearance using custom CSS styles through the \u003ccode\u003estyle\u003c/code\u003e argument.\u003c/p\u003e\n"]]],["The `ui.Slider` component creates a draggable slider between a minimum (`min`) and maximum (`max`) numeric value. It displays the current `value` with a label, adjustable by a defined `step`. The `direction` can be horizontal or vertical. An optional `onChange` function triggers on value changes, passing the current value. The slider can be `disabled`, and `style` properties are customizable. Default values are provided for `min`, `max`, `value`, and `step`.\n"],null,["# ui.Slider\n\n\u003cbr /\u003e\n\nA draggable target that ranges linearly between two numeric values. The value of the slider is displayed as a label alongside it.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------------------------------------------------------------------------------------------|-----------|\n| `ui.Slider(`*min* `, `*max* `, `*value* `, `*step* `, `*onChange* `, `*direction* `, `*disabled* `, `*style*`)` | ui.Slider |\n\n| Argument | Type | Details |\n|-------------|--------------------|------------------------------------------------------------------------------------------------------------------------------|\n| `min` | Number, optional | The minimum value. Defaults to 0. |\n| `max` | Number, optional | The maximum value. Defaults to 1. |\n| `value` | Number, optional | The initial value. Defaults to 0. |\n| `step` | Number, optional | The step size for the slider. Defaults to 0.01. |\n| `onChange` | Function, optional | A callback to fire when the slider's state changes. The callback is passed the slider's current value and the slider widget. |\n| `direction` | String, optional | The direction of the slider. One of 'horizontal' or 'vertical'. Defaults to 'horizontal'. |\n| `disabled` | Boolean, optional | Whether the slider is disabled. Defaults to false. |\n| `style` | Object, optional | An object of allowed CSS styles with their values to be set for this widget. See style() documentation. |"]]