UNPKG

@empathyco/x-components

Version:
57 lines (27 loc) 721 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [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.