ui.url.get
Returns the value of the given key from the URL fragment.
Usage | Returns |
---|
ui.url.get(key, default) | Boolean|Number|Object|String |
Argument | Type | Details |
---|
key | String | The name of the parameter to read. |
default | Boolean|Number|String, optional | optional default value to return if no value is present. |
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."],[[["Retrieves a specific value from the URL fragment using the provided key."],["Returns the value associated with the key, which can be a boolean, number, object, or string."],["If the key is not found in the URL fragment, an optional default value can be returned."],["Utilizes the `ui.url.get(key, default)` function for accessing the fragment value."]]],[]]