ui.Textbox.getPlaceholder
Returns the textbox's placeholder text.
Usage | Returns |
---|
Textbox.getPlaceholder() | String |
Argument | Type | Details |
---|
this: ui.textbox | ui.Textbox | The ui.Textbox instance. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["`Textbox.getPlaceholder()` retrieves the placeholder text set within a ui.Textbox element."],["This method returns the placeholder text as a string value for use within your scripts."],["You can utilize this function by calling it on a ui.Textbox instance, like so: `Textbox.getPlaceholder()`."]]],[]]