@empathyco/x-components
Version:
Empathy X Components
57 lines (27 loc) • 721 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
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
param
</td><td>
string
</td><td>
The parameter to get from the url.
</td></tr>
</tbody></table>
**Returns:**
string \| null
The parameter value from the url.