ঘোষণা :
15 এপ্রিল, 2025 এর আগে আর্থ ইঞ্জিন ব্যবহার করার জন্য নিবন্ধিত সমস্ত অবাণিজ্যিক প্রকল্পগুলিকে অবশ্যই আর্থ ইঞ্জিন অ্যাক্সেস বজায় রাখার জন্য
অ-বাণিজ্যিক যোগ্যতা যাচাই করতে হবে।
ui.Textbox
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি পাঠ্যবক্স যা ব্যবহারকারীকে পাঠ্য তথ্য ইনপুট করতে সক্ষম করে।
ব্যবহার | রিটার্নস | ui.Textbox( placeholder , value , onChange , disabled , style ) | ui.টেক্সটবক্স |
যুক্তি | টাইপ | বিস্তারিত | placeholder | স্ট্রিং, ঐচ্ছিক | টেক্সটবক্স খালি থাকলে প্রদর্শনের জন্য স্থানধারক পাঠ্য। কোনোটির জন্যই ডিফল্ট নয়। |
value | স্ট্রিং, ঐচ্ছিক | টেক্সটবক্সের মান। কোনোটির জন্যই ডিফল্ট নয়। |
onChange | ফাংশন, ঐচ্ছিক | টেক্সট পরিবর্তন হলে কলব্যাক ফায়ার। কলব্যাকটি বর্তমানে টেক্সটবক্স এবং টেক্সটবক্স উইজেটে থাকা টেক্সট পাস করা হয়েছে। |
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.Textbox\u003c/code\u003e widget creates an interactive textbox for user text input.\u003c/p\u003e\n"],["\u003cp\u003eIt can be customized using arguments like \u003ccode\u003eplaceholder\u003c/code\u003e, \u003ccode\u003evalue\u003c/code\u003e, \u003ccode\u003eonChange\u003c/code\u003e, \u003ccode\u003edisabled\u003c/code\u003e, and \u003ccode\u003estyle\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eonChange\u003c/code\u003e callback provides the current text and the textbox widget, enabling dynamic responses to user input.\u003c/p\u003e\n"],["\u003cp\u003eUsers can set an initial value and placeholder text, and optionally disable the textbox using the provided arguments.\u003c/p\u003e\n"]]],["The core functionality is a text input box (`ui.Textbox`). Users can set a `placeholder` text and the initial `value`. An `onChange` callback function is triggered whenever the text changes, receiving the new text and widget. Users can disable the textbox with the `disabled` parameter. Customizable `style` options are available using CSS styles, allowing for visual modification. All arguments are optional with default values, except for the callback function.\n"],null,["# ui.Textbox\n\n\u003cbr /\u003e\n\nA textbox that enables the user to input text information.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------------------------------------------------------------------|------------|\n| `ui.Textbox(`*placeholder* `, `*value* `, `*onChange* `, `*disabled* `, `*style*`)` | ui.Textbox |\n\n| Argument | Type | Details |\n|---------------|--------------------|------------------------------------------------------------------------------------------------------------------------------|\n| `placeholder` | String, optional | The placeholder text to display when the textbox is empty. Defaults to none. |\n| `value` | String, optional | The textbox's value. Defaults to none. |\n| `onChange` | Function, optional | The callback to fire when the text changes. The callback is passed the text currently in the textbox and the textbox widget. |\n| `disabled` | Boolean, optional | Whether the textbox 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. |"]]