Skip to main content

The Url object

Properties​

All properties for this object with supported data types or values. You can write JavaScript almost anywhere in Retool to manipulate or read property values.

hashParams​

The hash parameters of the URL.

Type object
Formatarray
Configurability Inspector
Defaultnull
Examples
false[ {
"key": "id",
"value": "1234567890"
} ]

href​

The full URL.

Type string
Format URL
Configurability Read-only
Defaultnull
Examples
false"https://retool.example.com?id=1234567890"

searchParams​

The search parameters of the URL.

Type object
Formatobject
Configurability Read-only
Defaultnull
Object Properties

key​

The key of the parameter.

Type string
Configurability Read-only
Defaultnull

value​

The value of the parameter.

Type string
Configurability Read-only
Defaultnull