ui.Textbox.getPlaceholder
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
इससे टेक्स्ट बॉक्स के प्लेसहोल्डर टेक्स्ट की जानकारी मिलती है.
इस्तेमाल | रिटर्न |
---|
Textbox.getPlaceholder() | स्ट्रिंग |
आर्ग्यूमेंट | टाइप | विवरण |
---|
यह: ui.textbox | ui.Textbox | ui.Textbox इंस्टेंस. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003e\u003ccode\u003eTextbox.getPlaceholder()\u003c/code\u003e retrieves the placeholder text set within a ui.Textbox element.\u003c/p\u003e\n"],["\u003cp\u003eThis method returns the placeholder text as a string value for use within your scripts.\u003c/p\u003e\n"],["\u003cp\u003eYou can utilize this function by calling it on a ui.Textbox instance, like so: \u003ccode\u003eTextbox.getPlaceholder()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# ui.Textbox.getPlaceholder\n\n\u003cbr /\u003e\n\nReturns the textbox's placeholder text.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------|---------|\n| Textbox.getPlaceholder`()` | String |\n\n| Argument | Type | Details |\n|--------------------|------------|--------------------------|\n| this: `ui.textbox` | ui.Textbox | The ui.Textbox instance. |"]]