@empathyco/x-components
Version:
Empathy X Components
27 lines (15 loc) • 586 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [getURLParameter](./x-components.geturlparameter.md)
## getURLParameter() function
Get one parameter value from the url.
**Signature:**
```typescript
getURLParameter: (param: string) => string | null
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| param | string | The parameter to get from the url. |
**Returns:**
string \| null
The parameter value from the url.