# ui.url.get

<br />

Returns the value of the given key from the URL fragment.

<br />

| 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. |