ui.Textbox.getPlaceholder
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zwraca tekst zastępczy pola tekstowego.
Wykorzystanie | Zwroty |
---|
Textbox.getPlaceholder() | Ciąg znaków |
Argument | Typ | Szczegóły |
---|
to: ui.textbox | ui.Textbox | Instancja ui.Textbox. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 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. |"]]